Able_shadowRoot.querySelector("#bluefilterContainerID").classList.add(a);eyeAble_shadowRoot.querySelector("#eyeABle_bluefilterCtrlID").classList.add(a);break;case "Nightmode":eyeAble_nightmodeEnabled=!1;eyeAble_shadowRoot.querySelector("#bwID").classList.add(a);break;case "TabNav":eyeAble_shadowRoot.querySelector("#tabNavContainerID").classList.add(a);
break;case "Reader":eyeAble_readerEnabled=!1;eyeAble_shadowRoot.querySelector("#navAndSpeechContainerID").classList.add(a);break;case "ColorCorrection":eyeAble_colorCorrEnabled=!1;eyeAble_shadowRoot.querySelector("#colorblindID").classList.add(a);break;case "FontFamily":eyeAble_fontFamilyEnabled=!1;eyeAble_shadowRoot.querySelector("#fontID")&&eyeAble_shadowRoot.querySelector("#fontID").classList.add(a);break;case "BluefilterAuto":eyeAble_bluefilterAutoEnabled=!1;break;case "BigCursor":eyeAble_bigCursorEnabled=
!1;break;case "BlockAnimations":eyeAble_blockAnimationsEnabled=!1;break;case "HideImages":eyeAble_hideImagesAutoEnabled=!1;eyeAble_shadowRoot.querySelector("#hideImagesContainerID").classList.add(a);break;case "MuteAudio":eyeAble_muteAudioAutoEnabled=!1;break;case "Magnifier":eyeAble_shadowRoot.querySelector("#eyeA-magnifierID").classList.add(a);eyeAble_magnifierEnabled=!1;break;case "Sitemap":eyeAble_sitemapEnabled=!1;break;case "MoreFunctions":eyeAble_shadowRoot.getElementById("moreFunctionsContainerID").classList.add(a);
eyeAble_shadowRoot.getElementById("resetID").style.marginTop="0px";eyeAble_moreFunctionsButtonEnabled=!1;break;case "SettingsTopIcon":eyeAble_shadowRoot.getElementById("settingsTopbarID").classList.add(a);eyeAble_settingsTopIconEnabled=!1;break;case "InfoTopIcon":eyeAble_shadowRoot.getElementById("infoIconBarID").classList.add(a),eyeAble_infoTopIconEnabled=!1}"Free"===eyeAble_activeFeatures.id&&!0===eyeAble_session_parameters.isExtension&&(eyeAble_shadowRoot.querySelector("#moreFunctionsContainerID").classList.add(a),
a="https://eye-able.com/produkt/browser-barrierefrei",eyeAble_session_parameters.isExtension&&!chrome.i18n.getUILanguage().includes("de")&&(a="https://eye-able.com/en/product/browser-barrierefrei"),a='
",eyeAble_shadowRootHtml.querySelector("#eyeAble_mainToolbarContentID").insertAdjacentHTML("beforeend",a))};var eyeAble_fired=!1,eyeAble_keyPressed=!1,eyeAble_keyPressedTimeoutID=-1,eyeAble_registeredKeys=[13,32,66,67,69,70,77,78,81,83,84,86,87,88,107,109,187,189],eyeAble_keyMapping={oneClickID:81,Reset:82,Darkmode:78,Bluefilter:66,Contrast:67,MainToolbar:49,Magnifier:77,HideImages:86,Font:88,Screenreader:83,TabNavigation:84,ShortcutManual:112,NavManual:113,ContrastWindow:50,CorrectionWindow:51,FunctionsWindow:52,OneClick:81,LargeCursor:89,AnimationStop:75,AudioStop:74},eyeAble_backTabDetected=!1;
function eyeAble_initKeyEvents(){function a(h){h.altKey&&eyeAble_fontSizeEnabled&&(0>h.deltaY?eyeAble_increase_font_size():eyeAble_decrease_font_size(),eyeAble_displayZoomLevelWheel(),h.preventDefault())}eyeAble_pluginLocalConfig&&!0===eyeAble_pluginLocalConfig.disableAllShortcuts&&eyeAble_setVar("ShortcutsActive",!1);eyeAble_pluginLocalConfig&&eyeAble_pluginLocalConfig.customKeyMapping&&(eyeAble_keyMapping=eyeAble_pluginLocalConfig.customKeyMapping);for(var b=document.querySelectorAll("[accesskey]"),
c=[],d=[],e=0;e=b?b-48:b),c.includes(e)&&d.push(b);document.addEventListener("keydown",function(h){function g(){n&&n!==document.body&&(n.focus(),n=null);document.getElementById("eyeAble_container_ID").removeEventListener("blur",g)}if(!eyeAbleVariables.ShortcutsActive&&27!==h.keyCode&&13!==h.keyCode||h.metaKey||"Meta"===h.key||h.shiftKey||h.ctrlKey||(new Set("@\u00a7$!\"%&/()=?*#'`,.;:_[]{}<>|\\~^".split(""))).has(h.key))return!1;
var l=[66,86,83,84];eyeAble_keyPressed=!0;-1!==eyeAble_keyPressedTimeoutID&&clearTimeout(eyeAble_keyPressedTimeoutID);eyeAble_keyPressedTimeoutID=setTimeout(function(){eyeAble_keyPressed=!1;eyeAble_keyPressedTimeoutID=-1},500);var n=document.activeElement,q=h.keyCode;if(!d.includes(q)){if(!eyeAble_fired&&h.altKey&&(-1===navigator.userAgent.indexOf("Firefox")||!l.includes(q))){if(107===q||187===q)eyeAble_increase_font_size();else if(109===q||189===q)eyeAble_decrease_font_size();else if(q===eyeAble_keyMapping.Reset)eyeAble_resetAll();
else if(q===eyeAble_keyMapping.Darkmode)eyeAble_toggleDarkmode();else if(q===eyeAble_keyMapping.Bluefilter)eyeAble_toggleBluefilter();else if(q===eyeAble_keyMapping.Contrast)eyeAble_toggleContrastMode();else if(70!==q)if(q===eyeAble_keyMapping.MainToolbar)"0"===eyeAbleVariables.Extended&&eyeAble_showAll_arrow(),eyeAble_shadowRoot.getElementById("eyeAble_columID").classList.contains("animeEyeAbleExtended")?eyeAble_retractIconbar(0):(eyeAble_shadowRoot.getElementById("eyeAbleIntroNotification")&&"none"!==
eyeAble_shadowRoot.getElementById("eyeAbleIntroNotification").style.display&&(eyeAble_shadowRoot.getElementById("eyeAbleIntroNotification").style.display="none"),eyeAble_extendIconbar());else if(q===eyeAble_keyMapping.Magnifier)eyeAble_takeScreenshot();else if(q===eyeAble_keyMapping.HideImages)eyeAble_toggleHideImagesAndVideos();else if(q===eyeAble_keyMapping.Font)eyeAble_toggleFontFamily();else if(q===eyeAble_keyMapping.Screenreader){if(!eyeAble_tabNavEnabled||!eyeAble_readerEnabled)return!1;eyeAbleWebsiteNav.toggleNavWithSpeech()}else if(q===
eyeAble_keyMapping.TabNavigation){if(!eyeAble_tabNavEnabled||!eyeAble_readerEnabled)return!1;eyeAbleWebsiteNav.toggleNavOnly()}else q===eyeAble_keyMapping.ShortcutManual?(n=document.activeElement,eyeAble_toggleShortcutManPage()):q===eyeAble_keyMapping.NavManual?(n=document.activeElement,document.getElementById("eyeAble_container_ID").addEventListener("blur",g),eyeAbleWebsiteNav.displayUserManualWebsiteNavigation()):q===eyeAble_keyMapping.ContrastWindow?(n=document.activeElement,document.getElementById("eyeAble_container_ID").addEventListener("blur",
g),eyeAble_toggleColorPickerWindow()):q===eyeAble_keyMapping.CorrectionWindow?(n=document.activeElement,document.getElementById("eyeAble_container_ID").addEventListener("blur",g),eyeAble_shadowRoot.getElementById("eyeAble_columID").classList.contains("animeEyeAbleExtended")?eyeAble_toggleCCpage():(eyeAble_extendIconbar(),setTimeout(function(){eyeAble_toggleCCpage()},400))):q===eyeAble_keyMapping.FunctionsWindow?(n=document.activeElement,document.getElementById("eyeAble_container_ID").addEventListener("blur",
g),eyeAble_shadowRoot.getElementById("eyeAble_columID").classList.contains("animeEyeAbleExtended")?eyeAble_toggleMoreFunctionsPage():(eyeAble_extendIconbar(),setTimeout(function(){eyeAble_toggleMoreFunctionsPage()},400))):q===eyeAble_keyMapping.OneClick?eyeAble_toggleOneClick():q===eyeAble_keyMapping.LargeCursor?eyeAble_toggleBigCursor():q===eyeAble_keyMapping.AnimationStop?eyeAble_toggleAnimations():q===eyeAble_keyMapping.AudioStop&&eyeAble_toggleMuteAudio();eyeAble_registeredKeys.includes(q)&&(eyeAble_fired=
!0)}if(!eyeAble_fired){if(13===q)eyeAble_shadowRoot.activeElement&&eyeAble_shadowRoot.activeElement.classList.contains("eyeAtabClickable")&&(eyeAble_extendIconbarDeadtime=!0,setTimeout(function(){eyeAble_extendIconbarDeadtime=!1},100),eyeAble_shadowRoot.activeElement.click());else if(27===q){if(eyeAble_shadowRoot.getElementById("eyeAble_tooltip"))return eyeAble_removeTooltip(),!1;h=eyeAble_closeAllOtherPages("");eyeAble_shadowRoot.getElementById("eyeAble_columID").classList.contains("animeEyeAbleExtended")&&
!h&&(eyeAbleVariables.minimizeIcon?eyeAble_closeAll_arrow():eyeAble_retractIconbar(0,!0));eyeAble_removeTooltip()}else 32===q&&eyeAbleTTS.stop();if(eyeAble_registeredKeys.includes(q)||-1parseInt(eyeAble_settings.layoutCorrectThreshold)&&(h=parseInt(eyeAble_settings.layoutCorrectThreshold)-1),0eyeAble_settings.maximumFontSizeIncrease&&(a.iAble_Font_Offset=eyeAble_settings.maximumFontSizeIncrease);eyeAble_removeTooltip();eyeAble_updateSettingsFromStruct(a)}eyeAble_dispatchEvent("One_Click_Mode")}var eyeAbleDefaultOneClickVariables=Object.assign({},eyeAbleVariables);
function eyeAble_saveOneClickSettings(){if(!eyeAble_oneClickEnabled)return!1;for(var a="OneClickSettingsDeviations topPosition UserLang UserLangCustom sidePosition OneClickSaved".split(" "),b={},c=$jscomp.makeIterator(Object.entries(eyeAbleDefaultOneClickVariables)),d=c.next();!d.done;d=c.next()){d=$jscomp.makeIterator(d.value);var e=d.next().value;d.next();eyeAbleVariables[e]===eyeAbleDefaultOneClickVariables[e]||a.includes(e)||(b[e]=eyeAbleVariables[e])}eyeAble_setVar("OneClickSettingsDeviations",
b);eyeAble_setVar("OneClickSaved",!0);eyeAble_showFeedbackNotification(eyeAble_getMessage("instantSaved"),"",!0)}var eyeAble_blockStorageUpdates=!1;
function eyeAble_updateSettingsFromStruct(a){eyeAble_blockStorageUpdates=!0;if(eyeAbleVariables.bluefilterSet!==a.bluefilterSet||eyeAbleVariables.blueFilterLevel!==a.blueFilterLevel)eyeAbleVariables.blueFilterLevel=a.blueFilterLevel,"1"===a.bluefilterSet?eyeAble_setBluefilter():eyeAble_resetBluefilter();var b=!1;if(eyeAbleVariables.iAble_Font_Offset!==a.iAble_Font_Offset){b=parseInt(a.iAble_Font_Offset)-parseInt(eyeAbleVariables.iAble_Font_Offset);b>eyeAble_settings.maximumFontSizeIncrease-1&&(b=
eyeAble_settings.maximumFontSizeIncrease-1);if(0window.innerWidth&&!(eyeAble_session_parameters.isExtension&&1.5window.innerWidth||450>window.innerHeight)eyeAble_session_parameters.isMobile=!0;eyeAble_session_parameters.isMobile&&("Free"===eyeAble_activeFeatures.id?eyeAble_activeFeatures=eyeAble_activeFeaturesBaseMobile:(eyeAble_activeFeatures=eyeAble_activeFeaturesMobile,"Light"===eyeAble_activeFeatures.id&&(eyeAble_activeFeatures.Reader=
!1),eyeAble_isDesktopBrowser()&&(eyeAble_activeFeatures.TabNav=!0,eyeAble_activeFeatures.BigCursor=!0)))}function eyeAble_isDesktopBrowser(){var a=navigator.userAgent,b=/Mobi|Android|iPhone|iPad|iPod|Windows Phone|BlackBerry|IEMobile/i.test(a),c=/Windows NT|Macintosh|Linux|X11/i.test(a);a=/iPad|Android.*Tablet/i.test(a);return c&&!a&&!b}
function eyeAble_htmlFitContentSet(){if(eyeAble_pluginLocalConfig&&!0!==eyeAble_pluginLocalConfig.htmlFitContent)return!1;parseInt(getComputedStyle(document.documentElement).height)