ble_SrTextBlockClass="eyeAble_SrText",eyeAble_SrBlacklistClass="eyeAble_SrSkip",eyeAble_limitBarSizeSheet,eyeAble_screenreaderReactivated=!1,eyeAble_TTSinitTextTimeout=-1,azureSynthLoaded=!1,azureSynth,azurePlayer,azureRequestSent=!1,azurePlayerSynthesisTime=0,sdkApiKey,sdkRegion,azureVoice,azureLang,azureFavoriteVoices={"de-DE":"de-DE-KatjaNeural"},speechConfig; function eyeAble_configureExternalTTS(a){var b,c,d,e,f,h,g,l,n;return $jscomp.asyncExecutePromiseGeneratorProgram(function(q){if(1==q.nextAddress){if("undefined"===typeof enableAzureTTS)return q.return();speechConfig=window.SpeechSDK.SpeechConfig.fromSubscription(sdkApiKey,sdkRegion);speechConfig.SpeechSynthesisOutputFormat=window.SpeechSDK.SpeechSynthesisOutputFormat.Audio24Khz96KBitRateMonoMp3;azurePlayer=new window.SpeechSDK.SpeakerAudioDestination;b=window.SpeechSDK.AudioConfig.fromSpeakerOutput(azurePlayer); eyeAble_pluginLocalConfig&&eyeAble_pluginLocalConfig.azureFavoriteVoices&&(azureFavoriteVoices=eyeAble_pluginLocalConfig.azureFavoriteVoices);if(azureFavoriteVoices&&a)for(c=$jscomp.makeIterator(Object.entries(azureFavoriteVoices)),d=c.next();!d.done;d=c.next())if(e=d.value,f=$jscomp.makeIterator(e),h=f.next().value,g=f.next().value,h.toLowerCase().includes(a.toLowerCase())){azureVoice=g;azureLang=h;break}if(azureVoice&&azureVoice.toLowerCase().includes(a.toLowerCase()))return speechConfig.speechSynthesisVoiceName= azureVoice,speechConfig.SpeechSynthesisLanguage=azureLang,q.jumpTo(2);azureSynth=new window.SpeechSDK.SpeechSynthesizer(speechConfig,b);return a?q.yield(azureSynth.getVoicesAsync(),4):(speechConfig.speechSynthesisVoiceName="de-DE-KatjaNeural",speechConfig.SpeechSynthesisLanguage="de-DE",q.jumpTo(2))}if(2!=q.nextAddress)if(l=q.yieldResult,eyeAble_debugLog("Azure Voices:"),eyeAble_debugLog(l),l)for(n=0;nda)da=1;W*=da;aa*=da;50W&&(W=0),Q.style.bottom=W.toFixed(2)+"%",Q.style.top="unset"):(0>W&&(W=0),Q.style.top=W.toFixed(2)+"%");50aa&&(aa=0),W=aa.toFixed(2),eyeAble_session_parameters.isMobile&&7>W&&(W=7),Q.style.right=W+"%",Q.style.left="unset"):(0>aa&&(aa=0),Q.style.left=aa.toFixed(2)+"%")}function w(Q){function W(V){V=V||window.event;V.preventDefault();da=ca-V.clientX;ea=Z-V.clientY;ca=V.clientX;Z=V.clientY;Q.style.top=Q.offsetTop- ea+"px";Q.style.left=Q.offsetLeft-da+"px"}function aa(){var V=100*(Q.offsetTop-ea)/T;eyeAble_setVar("ControllerTop",V);var ia=100*(Q.offsetLeft-da)/X;eyeAble_setVar("ControllerLeft",ia);u(Q,V,ia);document.removeEventListener("mousemove",W);document.removeEventListener("mouseup",aa)}var da=0,ea=0,ca=0,Z=0;Q.onmousedown=function(V){eyeAble_shadowRoot.getElementById("srControlerHeaderID").matches(":hover")&&(X=Math.min(document.documentElement.clientWidth,window.innerWidth||0),T=Math.min(document.documentElement.clientHeight, window.innerHeight||0),V=V||window.event,V.preventDefault(),ca=V.clientX,Z=V.clientY,document.addEventListener("mouseup",aa),document.addEventListener("mousemove",W))}}function C(Q){function W(V){V=V||window.event;V.preventDefault();da=ca-V.touches[0].clientX;ea=Z-V.touches[0].clientY;ca=V.touches[0].clientX;Z=V.touches[0].clientY;Q.style.top=Q.offsetTop-ea+"px";Q.style.left=Q.offsetLeft-da+"px"}function aa(){Q.classList.remove("eyeAble_shakeAnimation");var V=100*(Q.offsetTop-ea)/T;eyeAble_setVar("ControllerTop", V);var ia=100*(Q.offsetLeft-da)/X;eyeAble_setVar("ControllerLeft",ia);u(Q,V,ia);document.removeEventListener("touchmove",W);document.removeEventListener("touchend",aa)}var da=0,ea=0,ca=0,Z=0;Q.addEventListener("touchstart",function(V){function ia(){ka=!0}var ka=!1;document.addEventListener("touchend",ia);setTimeout(function(){eyeAble_shadowRoot.getElementById("screenreaderControllerID").matches(":hover")&&!ka&&(X=Math.min(document.documentElement.clientWidth,window.innerWidth||0),T=Math.min(document.documentElement.clientHeight, window.innerHeight||0),document.removeEventListener("touchend",ia),V=V||window.event,V.preventDefault(),ca=V.clientX,Z=V.clientY,document.addEventListener("touchend",aa),document.addEventListener("touchmove",W),Q.classList.add("eyeAble_shakeAnimation"),eyeAble_shadowRoot.getElementById("srForwardID").blur(),eyeAble_shadowRoot.getElementById("srBackwardID").blur(),eyeAble_shadowRoot.getElementById("srStopButtonID").blur())},1E3)})}var N='

'+ eyeAble_getMessage("srHeader")+'

'+eyeAble_getMessage(
'+eyeAble_getMessage("srOn")+'

'+ eyeAble_getMessage("srCursor")+'

'+ eyeAble_getMessage("srCtrl")+'

'+eyeAble_getMessage("srSett")+'

'+ eyeAble_getMessage("srSpeed")+'

1.0x

'+eyeAble_getMessage("srVol")+'

100%

'+eyeAble_getMessage("srMan")+"

";eyeAble_shadowRoot.getElementById("eyeAble_MainContainerID").insertAdjacentHTML("beforeend",N);eyeAble_shadowRoot.getElementById("closeSrControllerID").addEventListener("click", eyeAbleWebsiteNav.toggleNavWithSpeech);eyeAble_shadowRoot.getElementById("closeSrControllerID").addEventListener("keydown",function(Q){"Enter"===Q.code&&eyeAbleWebsiteNav.toggleNavWithSpeech()});var X=Math.max(document.documentElement.clientWidth,window.innerWidth||0),T=Math.max(document.documentElement.clientHeight,window.innerHeight||0),ba=eyeAble_shadowRoot.getElementById("screenreaderControllerID").getBoundingClientRect().height,ha=eyeAble_shadowRoot.getElementById("screenreaderControllerID").getBoundingClientRect().width, ja=eyeAble_shadowRoot.getElementById("srIcon"),fa=eyeAble_shadowRoot.getElementById("srsContent");ja.addEventListener("click",function(){ja.classList.toggle("eyeAble_sr-active");fa.classList.toggle("eyeAble_sr-active");fa.classList.contains("eyeAble_sr-active")?eyeAble_showClickableElements("srsContent"):eyeAble_hideClickableElements("srsContent");setTimeout(function(){ba=eyeAble_shadowRoot.getElementById("screenreaderControllerID").getBoundingClientRect().height},450)});eyeAble_session_parameters.isMobile? u(eyeAble_shadowRoot.getElementById("screenreaderControllerID"),80,3):u(eyeAble_shadowRoot.getElementById("screenreaderControllerID"),parseFloat(eyeAble_getVar("ControllerTop")),parseFloat(eyeAble_getVar("ControllerLeft")));eyeAble_shadowRoot.getElementById("toggleVoiceOutputID").addEventListener("click",d);eyeAble_shadowRoot.getElementById("toggleVoiceOutputID").addEventListener("keyup",function(Q){"Enter"===Q.key&&d()});eyeAbleVariables.ReadCursorActive||(eyeAble_shadowRoot.getElementById("toggleVoiceOutputID")&& eyeAble_shadowRoot.getElementById("toggleVoiceOutputID").classList.add("eyeAble_sr-readingactive"),eyeAble_shadowRoot.getElementById("srSpeechEnabledTextID")&&(eyeAble_shadowRoot.getElementById("srSpeechEnabledTextID").innerText=eyeAble_getMessage("srOff")));eyeAble_shadowRoot.querySelector("button.eyeAble_Play_Pause").classList.remove("active_playPause");eyeAble_session_parameters.isMobile||(eyeAble_shadowRoot.getElementById("srPlayStopButtonID").addEventListener("mouseenter",eyeAble_createTooltip), eyeAble_shadowRoot.getElementById("toggleVoiceOutputID").addEventListener("mouseenter",eyeAble_createTooltip));eyeAble_shadowRoot.getElementById("srBackwardID").addEventListener("click",eyeAbleWebsiteNav.backward);eyeAble_shadowRoot.getElementById("srForwardID").addEventListener("click",eyeAbleWebsiteNav.forward);eyeAble_shadowRoot.getElementById("srPlayStopButtonID").addEventListener("click",eyeAbleWebsiteNav.toggleReadWholePage);eyeAble_shadowRoot.getElementById("srStopButtonID").addEventListener("click", eyeAbleWebsiteNav.stopReadWholePage);eyeAble_shadowRoot.getElementById("srRateTextID").innerText=eyeAble_getVar("SpeechRate").toFixed(1)+"x";eyeAble_shadowRoot.getElementById("srFasterButtID").addEventListener("click",e);eyeAble_shadowRoot.getElementById("srSlowerButtID").addEventListener("click",f);eyeAble_shadowRoot.getElementById("srVolumeTextID").innerText=(100*eyeAble_getVar("SpeechVolume")).toFixed(0)+"%";eyeAble_shadowRoot.getElementById("srQuieterButtID").addEventListener("click",g);eyeAble_shadowRoot.getElementById("srLouderButtID").addEventListener("click", h);eyeAble_shadowRoot.getElementById("screenreaderControllerID").focus();eyeAble_shadowRoot.getElementById("srOpenManualID").addEventListener("click",eyeAble_toggleTTSManPage);eyeAble_session_parameters.isMobile?C(eyeAble_shadowRoot.getElementById("screenreaderControllerID")):w(eyeAble_shadowRoot.getElementById("screenreaderControllerID"))}function c(){var u=eyeAble_shadowRoot.getElementById("screenreaderControllerID");u?(u.style.display="block",eyeAble_shadowRoot.getElementById("screenreaderControllerID").focus(), eyeAble_shadowRoot.querySelector("button.eyeAble_Play_Pause").classList.remove("active_playPause"),eyeAbleVariables.ReadCursorActive||(eyeAble_shadowRoot.getElementById("toggleVoiceOutputID")&&eyeAble_shadowRoot.getElementById("toggleVoiceOutputID").classList.add("eyeAble_sr-readingactive"),eyeAble_shadowRoot.getElementById("srSpeechEnabledTextID")&&(eyeAble_shadowRoot.getElementById("srSpeechEnabledTextID").innerText=eyeAble_getMessage("srOff")))):b();azureSynthLoaded&&r&&(eyeAble_shadowRoot.getElementById("screenreaderControllerID").style.display= "none")}function d(){eyeAbleVariables.ReadCursorActive?(eyeAble_shadowRoot.getElementById("toggleVoiceOutputID")&&eyeAble_shadowRoot.getElementById("toggleVoiceOutputID").classList.add("eyeAble_sr-readingactive"),eyeAble_shadowRoot.getElementById("srSpeechEnabledTextID")&&(eyeAble_shadowRoot.getElementById("srSpeechEnabledTextID").innerText=eyeAble_getMessage("srOff")),eyeAble_setVar("ReadCursorActive",!1)):(eyeAble_setVar("ReadCursorActive",!0),eyeAble_shadowRoot.getElementById("toggleVoiceOutputID")&& eyeAble_shadowRoot.getElementById("toggleVoiceOutputID").classList.remove("eyeAble_sr-readingactive"),eyeAble_shadowRoot.getElementById("srSpeechEnabledTextID")&&(eyeAble_shadowRoot.getElementById("srSpeechEnabledTextID").innerText=eyeAble_getMessage("srOn")))}function e(){G+=.1;2G&&(G=.1);eyeAble_setVar("SpeechRate",G);eyeAble_shadowRoot.getElementById("srRateTextID").innerText= G.toFixed(1)+"x"}function h(){z+=.1;1=z&&(z=.01);eyeAble_setVar("SpeechVolume",z);eyeAble_shadowRoot.getElementById("srVolumeTextID").innerText=(100*z).toFixed(0)+"%"}function l(u){var w=u.lang;w=w.split("-")[0];var C=speechSynthesis.getVoices(),N=!1;try{if(/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)){for(var X=0;X=T[0].length){void 0!==C&&"function"===typeof C&&C();return}var ja=T[0];ba=new SpeechSynthesisUtterance(ja);for(var fa in u)fa in u&&u[fa]&&"text"!==fa&&(ba[fa]=u[fa]);N&&X&&U&&(D=new Mark(N),ba.onboundary=function(Q){if("word"===Q.name){var W={element:"eaMark",className:"eA_highlight"};D.unmark(W);var aa=Q.charIndex;w.offset&&(aa+=w.offset);D.markRanges([{start:aa,length:Q.charLength}],W)}else"sentence"===Q.name&&(W={element:"eaMark",className:"eA_SentenceHighlight"},D.unmark(W),aa=Q.utterance.text.substring(Q.charIndex), Q=Q.charIndex,0!==Q&&--Q,w.offset&&(Q+=w.offset),Q={start:Q,length:aa.split(". ")[0].length+1},D.markRanges([Q],W))},ba.onend=function(){D.unmark()});ba.addEventListener("end",function(){H.cancel?H.cancel=!1:(w.offset=w.offset||0,w.offset+=ja.length-1,H(u,w,C,N,X))})}w.modifier&&w.modifier(ba);setTimeout(function(){O.speak(ba)},0)},J,M,O=window.speechSynthesis,G=1,z=1,F=!1,L,P=[],U=!0,S=!1,R=!0,Y="",I=function(u,w,C,N,X,T,ba,ha){function ja(ca,Z){Z=void 0===Z?!0:Z;P.includes(T)||P.push(T);ha&&(ca.volume= .001);l(ca);eyeAble_pluginLocalConfig&&eyeAble_pluginLocalConfig.forceBrowserVoice&&(ca=n(ca));2>=ca.text.length?O.speak(ca):(H.cancel=!1,H(ca,{chunkLength:500},q,T,Z))}w=void 0===w?null:w;C=void 0===C?null:C;N=void 0===N?!1:N;X=void 0===X?null:X;T=void 0===T?null:T;ba=void 0===ba?!0:ba;ha=void 0===ha?!1:ha;var fa,Q,W,aa,da,ea;return $jscomp.asyncExecutePromiseGeneratorProgram(function(ca){switch(ca.nextAddress){case 1:if(!eyeAble_readerEnabled)return ca.return(!1);if(!F||!u||!eyeAbleWebsiteNavigationActive)return ca.return(); w||(w=M);"function"===typeof eyeAble_ttsTextFilter&&(u=eyeAble_ttsTextFilter(u));try{if(eyeAble_pluginLocalConfig&&eyeAble_pluginLocalConfig.srDictionary)for(fa in eyeAble_pluginLocalConfig.srDictionary)u=u.replaceAll(fa,eyeAble_pluginLocalConfig.srDictionary[fa])}catch(Z){}u=u.replaceAll(/\u00AD/g,"");k();R=!0;Y=C;N&&X.classList.add("eyeAble_websiteMouseSpeechFocus");if(!azureSynthLoaded){ca.jumpTo(2);break}if(azureSynth){ca.jumpTo(3);break}return ca.yield(eyeAble_configureExternalTTS(M),3);case 3:azurePlayer.resume(); azureRequestSent=!0;T&&ba&&!r&&U&&(Q=function(){if(0!==W.length){for(var Z=W[0].textOffset,V=1E7*azurePlayer.currentTime,ia=0,ka=0;ka=W[ka].start&&V<=W[ka].end){ia=1;var ma={element:"eaMark",className:"eA_highlight"};A.unmark(ma);A.markRanges([{start:W[ka].textOffset-Z,length:W[ka].wordLength}],ma)}if(1>=aa.length)Z={element:"eaMark",className:"eA_SentenceHighlight"},A.unmark(Z),A.markRanges([{start:0,length:u.length}],Z);else{ka={element:"eaMark",className:"eA_SentenceHighlight"}; A.unmark(ka);for(var na=ma=0,la=0;la=W[W.length-1].end&&(A.unmark(),clearInterval(v))}},W=[],aa=[],A=new Mark(T),azureSynth.wordBoundary=function(Z,V){"WordBoundary"===V.privBoundaryType?W.push({start:V.privAudioOffset,end:V.privAudioOffset+V.privDuration,word:V.privText,textOffset:V.privTextOffset, wordLength:V.privWordLength}):"PunctuationBoundary"===V.privBoundaryType&&aa.push({start:V.privAudioOffset,textOffset:V.privTextOffset})},v=setInterval(Q,100));u=u.replaceAll('"',""");u=u.replaceAll("&","&");u=u.replaceAll("'","'");u=u.replaceAll("<","<");u=u.replaceAll(">",">");try{if(eyeAble_pluginLocalConfig&&eyeAble_pluginLocalConfig.srPhoentic)for(da in eyeAble_pluginLocalConfig.srPhoentic)u=u.replaceAll(da,' '+da+" ")}catch(Z){}return ca.yield(azureSynth.speakSsmlAsync('\n \n \n \n '+u+"\n \n \n \n ",function(Z){azurePlayerSynthesisTime=Z.privAudioDuration/ 1E7;azureSynth.close();azureSynth=void 0;azureRequestSent=!1},function(Z){window.console.log("Error",Z);azurePlayerSynthesisTime=0;azureSynth.close();azureSynth=void 0;azureRequestSent=!1}),5);case 5:return ca.return();case 2:ea=new SpeechSynthesisUtterance(u),ea.rate=G,ea.volume=z,ea.pitch=1,eyeAble_session_parameters.isPlugin?(ea.lang=w,C&&ea.lang.includes(J)&&(ea.text=u+" "+C,R=!1),ja(ea,ba)):chrome.i18n.detectLanguage(u,function(Z){ea.lang=Z.isReliable&&50<=u.length?Z.languages[0].language:w; C&&ea.lang.includes(J)&&(ea.text=u+" "+C,R=!1);ja(ea,ba)}),ca.jumpToEnd()}})},k=function(){eyeAbleWebsiteNav.resetNotSpeakingCounter();try{v&&0<=v&&clearInterval(v),A&&A.unmark(),D&&D.unmark()}catch(X){}if(azureSynthLoaded&&!azureRequestSent){azurePlayer.pause();azurePlayer.close();azurePlayerSynthesisTime=0;azurePlayer=new window.SpeechSDK.SpeakerAudioDestination;var u=window.SpeechSDK.AudioConfig.fromSpeakerOutput(azurePlayer);azureSynth=new window.SpeechSDK.SpeechSynthesizer(speechConfig,u)}else O&& O.speaking&&(O.cancel(),H.cancel=!0);if(u=document.querySelectorAll(".eyeAble_websiteMouseSpeechFocus"))for(var w=0;wC.getBoundingClientRect().height&&(u.style.fontSize="2px");C.insertBefore(u, C.firstChild);var T=new RadialProgress(u,{colorBg:"#b36000",colorFg:"#000",thick:50,fixedTextSize:.3,progress:0,noInitAnimation:!0,noPercentage:!0});eyeAble_limitBarSizeSheet||(eyeAble_limitBarSizeSheet=function(){var Q=document.createElement("style");Q.setAttribute("nonce",eyeAble_nonce);Q.appendChild(document.createTextNode(""));document.body.appendChild(Q);return Q.sheet}(),eyeAble_addCSSRule(eyeAble_limitBarSizeSheet,"#bar > div","max-width: 30px;max-height : 30px;"));var ba=1E3/60,ha=0;p=t=C; var ja=Date.now(),fa=setInterval(function(){ha+=100/(1E3/ba);Date.now()-1E3>ja&&(ha=100);if(100<=ha){ha=100;clearInterval(fa);fa=-1;document.getElementById("bar")&&document.getElementById("bar").remove();C.querySelector("#bar")&&C.querySelector("#bar").remove();t.ownerDocument!==document&&t.ownerDocument.getElementById("bar")&&t.ownerDocument.getElementById("bar").remove();t.classList.remove("eyeAble_websiteMousePreFocus");var Q=t.getRootNode().host,W=null;Q&&Q.classList.contains("eyeAble_container_b")&& (W=J);eyeAbleWebsiteNav.pauseReadWholePage();window.speechSynthesis&&!0===window.speechSynthesis.paused&&O.cancel();eyeAble_pluginLocalConfig&&!eyeAble_pluginLocalConfig.srNoAppendices&&("a"===t.tagName.toLowerCase()||t.parentNode&&t.parentNode.tagName&&"a"===t.parentNode.tagName.toLowerCase()||t.parentNode&&t.parentNode.parentNode&&t.parentNode.parentNode.tagName&&"a"===t.parentNode.parentNode.tagName.toLowerCase())&&(N=N+" "+eyeAble_getMessage("srLink"));I(N,W,null,!0,t,t);eyeAbleWebsiteNav.setActiveElement(t)}T.setValue(ha/ 100)},ba);eyeAble_session_parameters.isMobile?t.addEventListener("touchend",X):t.addEventListener("mouseleave",X)}}}},y=function(){var u="touchstart";eyeAble_session_parameters.isMobile||(u="mousemove");document.body.addEventListener(u,x);eyeAble_shadowRoot.addEventListener(u,x);for(var w=document.querySelectorAll("iframe"),C=0;Cwindow.innerWidth;document.body.addEventListener("click",a);eyeAble_shadowRoot.getElementById("navAndSpeechContainerID")&&fastdomEA.mutate(function(){eyeAble_shadowRoot.getElementById("navAndSpeechContainerID").classList.add("eyeAbleActive")});eyeAble_shadowRoot.getElementById("navAndSpeechContainerID").setAttribute("aria-pressed", "true")})();"speechSynthesis"in window&&("undefined"===typeof eyeAble_forceExternalTTS||!1===eyeAble_forceExternalTTS)?eyeAble_TTSinitTextTimeout=setTimeout(function(){u();eyeAble_TTSinitTextTimeout=-1},200):(document.getElementById("eyeAbleTTS")?eyeAble_configureExternalTTS(M).then(function(){u()}):(eyeAble_loadExternalVoiceSrc(),setTimeout(function(){u()},1500)),r&&(eyeAble_shadowRoot.getElementById("screenreaderControllerID").style.display="none"));eyeAble_dispatchEvent("Screenreader_Enabled")}, deInit:function(){k();B();"0"!==eyeAbleVariables.SpeechOutput&&eyeAble_dispatchEvent("Screenreader_Disabled");eyeAble_setVar("SpeechOutput","0");document.body.removeEventListener("click",a);m();F=!1;eyeAble_shadowRoot.getElementById("screenreaderControllerID")&&(eyeAble_shadowRoot.getElementById("screenreaderControllerID").style.display="none")},outputText:I,outputElement:function(u,w,C){C=void 0===C?!0:C;if(w===eyeAbleNavigationTags.headlinesTags)if(u){w="";switch(u.tagName.toLowerCase()){case "h1":w= eyeAble_getMessage("srHeadingLev")+" 1";break;case "h2":w=eyeAble_getMessage("srHeadingLev")+" 2";break;case "h3":w=eyeAble_getMessage("srHeadingLev")+" 3";break;case "h4":w=eyeAble_getMessage("srHeadingLev")+" 4";break;case "h5":w=eyeAble_getMessage("srHeadingLev")+" 5";break;case "h6":w=eyeAble_getMessage("srHeadingLev")+" 6"}!1===C&&(w="");I(u.textContent,null,w,!1,null,u)}else I(eyeAble_getMessage("srNoHeadings"),J);else if(eyeAbleNavigationTags.headlinesTags.includes(w))if(u){var N="";switch(w){case "h1":N= eyeAble_getMessage("srHeadingLev")+" 1";break;case "h2":N=eyeAble_getMessage("srHeadingLev")+" 2";break;case "h3":N=eyeAble_getMessage("srHeadingLev")+" 3";break;case "h4":N=eyeAble_getMessage("srHeadingLev")+" 4";break;case "h5":N=eyeAble_getMessage("srHeadingLev")+" 5";break;case "h6":N=eyeAble_getMessage("srHeadingLev")+" 6"}!1===C&&(N="");I(u.textContent,null,N,!1,null,u)}else switch(w){case "h1":I(eyeAble_getMessage("srNoHeadingLev")+" 1",J);break;case "h2":I(eyeAble_getMessage("srNoHeadingLev")+ " 2",J);break;case "h3":I(eyeAble_getMessage("srNoHeadingLev")+" 3",J);break;case "h4":I(eyeAble_getMessage("srNoHeadingLev")+" 4",J);break;case "h5":I(eyeAble_getMessage("srNoHeadingLev")+" 5",J);break;case "h6":I(eyeAble_getMessage("srNoHeadingLev")+" 6",J)}else w===eyeAbleNavigationTags.graphicTags?u?(C=eyeAble_getTextFromElement(u),w=" "+eyeAble_getMessage("srImg"),eyeAbleNavigationTags.linksArray.includes(u.parentNode)&&(w=w+" "+eyeAble_getMessage("srLink")),I(C,null,w,!1,null,u)):I(eyeAble_getMessage("srNoImgs"), null):"link"===w?u?(C=eyeAble_getTextFromElement(u),w=eyeAble_getMessage("srLink"),I(C,null,w,!1,null,u)):I(eyeAble_getMessage("srNoLink"),J):"landmark"===w?u?(C=u.textContent,C.includes("/>")&&(C=""),w=" "+eyeAble_getMessage("srLand"),I(C,null,w,!1,null,u)):I(eyeAble_getMessage("srNoLand"),J):w===eyeAbleNavigationTags.listTags?u?(C=eyeAble_getMessage("srList")+" "+u.children.length.toFixed()+" "+eyeAble_getMessage("srEnt"),I(C,J,null,!1,null,u,!1)):I(eyeAble_getMessage("srNoList"),J):w===eyeAbleNavigationTags.listEntryTags? u?((C=u.textContent)||(C=eyeAble_getTextFromElement(u)),C.includes("/>")&&(C=""),w=" "+eyeAble_getMessage("srListEnt"),I(C,null,w,!1,null,u)):I(eyeAble_getMessage("srNoListEnt"),J):w===eyeAbleNavigationTags.formTags?u?(C=eyeAble_getMessage("srForm"),I(C,null,null,!1,null,u,!1)):I(eyeAble_getMessage("srNoForm"),J):eyeAbleNavigationTags.inputTags.includes(w)?u?(C=u.innerText,C.includes("/>")&&(C=""),C||(C=eyeAble_getTextFromElement(u)),""===C?I(eyeAble_getMessage("srInp"),null):(w=" "+eyeAble_getMessage("srInp"), I(C,null,w,!1,null,u))):I(eyeAble_getMessage("srNoInp"),J):w===eyeAbleNavigationTags.buttonTags?u?(C=u.innerText,C.includes("/>")&&(C=""),C||(C=eyeAble_getTextFromElement(u)),w=" "+eyeAble_getMessage("srBut"),I(C,null,w,!1,null,u)):I(eyeAble_getMessage("srNoBut"),J):w===eyeAbleNavigationTags.embbeddedTags?u?(C=u.innerText,C.includes("/>")&&(C=""),u.name&&(C+=u.name),w=" "+eyeAble_getMessage("srEmb"),I(C,null,w,!1,null,u)):I(eyeAble_getMessage("srNoEmb"),J):w===eyeAbleNavigationTags.selectTags?u?(C= u.innerText,C.includes("/>")&&(C=""),u.name&&(C+=u.name),w=" "+eyeAble_getMessage("srCom"),I(C,null,w,!1,null,u)):I(eyeAble_getMessage("srNoCom"),J):"unlinkedText"===w&&(u?(w=u.textContent,w.includes("/>")&&(w=""),N=" "+eyeAble_getMessage("srTxt"),!1===C&&(N=""),I(w,null,N,!1,null,u)):I(eyeAble_getMessage("srNoTxt"),J))},stop:k,pause:function(){azureSynthLoaded&&azureSynth?azurePlayer.pause():!0===O.speaking&&O.pause()},resume:function(){azureSynthLoaded&&azureSynth?azurePlayer.resume():O.resume()}, getActive:function(){return F},getSpeakingState:function(){return azureSynthLoaded?azurePlayer.privIsPaused||azurePlayer.currentTime>=azurePlayerSynthesisTime?!1:!0:O.speaking},getLastFinishedElement:function(){if(2x.width*x.height&&(!B||"function"!==typeof B.startsWith||!B.startsWith("#")&&!B.startsWith("javascript:"))||"true"===f.elements[f.index].getAttribute("eyeableskipnav")||"-1"===f.elements[f.index].getAttribute("tabindex")||"hidden"===y.visibility||"none"===y.display||"0"===y.opacity||eyeAble_hasSomeParentTheAttribute(I,"aria-hidden","true"))return!1;y=g!==t;q&&!m&&g&&g.length>t.length&&(y=y&&!g.includes(t));if("landmark"=== k)return eyeAbleNavigationTags.linksArray&&eyeAbleNavigationTags.linksArray.includes(I)&&("#"===I.href.charAt(0)||"#"===I.href.charAt(I.href.length-1))?!0:!1;if("link"===k)return eyeAbleNavigationTags.linksArray&&eyeAbleNavigationTags.linksArray.includes(I)?(t&&(g=t),!0):!1;if("unlinkedText"===k)return eyeAble_checkForText(I)&&y&&t?(g=t,!0):!1;if("all"===k){if((k=I.getAttribute("tabindex"))&&0<=parseInt(k))return!0;if(0f.index?f.index=0:Y=!0;fastdomEA.measure(function(){for(;!L(f.elements[f.index],z);)if("next"===F)if(f.indexx)x=1;fastdomEA.mutate(function(){if(S)for(var y=0;yt&&(B=p+k.top-t/2);Math.abs(window.scrollY-B)>.1*window.innerHeight&&!y&&window.scrollTo({top:B,left:0,behavior:"smooth"})}else f.elements[f.index].getAttribute("tabindex")||f.elements[f.index].parentNode.focus();eyeAbleTTS.outputElement(f.elements[f.index], z,I)});return f.elements[f.index]})}}function b(){eyeAble_updateNotifcationBannerPosition();eyeAble_shadowRoot.getElementById("eyeAble_IconBannerID").innerText!==eyeAble_getMessage("srBannerTxt")&&(eyeAble_shadowRoot.getElementById("eyeAble_IconBannerID").innerText=eyeAble_getMessage("srBannerTxt"));eyeAble_session_parameters.isMobile&&(eyeAble_shadowRoot.getElementById("eyeAbleIntroNotification").style.display="none");var z=eyeAble_shadowRoot.getElementById("eyeAbleSpeakerEnabledID");z||(z=document.createElement("IMG"), z.src=eyeAble_imagePaths.speakerPath,z.classList.add("eyeAble_speakerImage"),z.setAttribute("eyeableskipnav","true"),z.id="eyeAbleSpeakerEnabledID",eyeAble_shadowRoot.getElementById("eyeAble_IconBannerID").appendChild(z));eyeAbleTTS.getActive()?z.src!==eyeAble_imagePaths.speakerPath&&(z.src=eyeAble_imagePaths.speakerPath):z.src!==eyeAble_imagePaths.mutedPath&&(z.src=eyeAble_imagePaths.mutedPath)}function c(z){if("undefined"===typeof eyeAble_blockKeyInputs||!eyeAble_blockKeyInputs){if(z.altKey||z.metaKey|| "Meta"===z.key||z.ctrlKey||!0===h&&27!==z.keyCode||("input"===document.activeElement.tagName.toLowerCase()||"textarea"===document.activeElement.tagName.toLowerCase())&&9!==z.keyCode&&27!==z.keyCode&&113!==z.keyCode&&39!==z.keyCode&&37!==z.keyCode)return!1;var F=!0;switch(z.keyCode){case 72:var L=eyeAbleNavigationTags.headlinesTags;break;case 71:L=eyeAbleNavigationTags.graphicTags;break;case 84:L=eyeAbleNavigationTags.tableTags;break;case 75:L="link";break;case 68:L="landmark";break;case 49:L="h1"; break;case 50:L="h2";break;case 51:L="h3";break;case 52:L="h4";break;case 53:L="h5";break;case 54:L="h6";break;case 76:L=eyeAbleNavigationTags.listTags;break;case 73:L=eyeAbleNavigationTags.listEntryTags;break;case 70:L=eyeAbleNavigationTags.formTags;break;case 66:L=eyeAbleNavigationTags.buttonTags;break;case 67:L=eyeAbleNavigationTags.selectTags;break;case 69:L=eyeAbleNavigationTags.inputTags;break;case 83:eyeAbleTTS.getActive()&&(f.index=-1);break;case 79:L=eyeAbleNavigationTags.embbeddedTags;break; case 113:eyeAble_toggleTTSManPage();O(eyeAble_shadowRoot.querySelector('[ealangid="man2Intro"]'));eyeAble_shadowRoot.querySelector('[ealangid="man2Intro"]').focus();setTimeout(function(){eyeAble_shadowRoot.querySelector('[ealangid="man2Intro"]').focus()},550);break;case 39:q&&!m&&J();break;case 37:q&&!m&&M();break;case 9:L="all";z.preventDefault();break;default:F=!1}F&&([37,39,9].includes(z.keyCode)||eyeAbleWebsiteNav.pauseReadWholePage(),!0===window.speechSynthesis.paused&&window.speechSynthesis.cancel()); b();var P=!1;if(27===z.keyCode)eyeAble_shadowRoot.getElementById("eyeAble_columID").classList.contains("animeEyeAbleExtended")?eyeAble_retractIconbar():27===z.keyCode&&eyeAble_shadowRoot.getElementById("ttsManualContainerID")&&"none"!==eyeAble_shadowRoot.getElementById("ttsManualContainerID").style.display?eyeAble_closeTTSManPage():e();else if(13===z.keyCode){var U=function(I){if(!1===P){var k=new KeyboardEvent("keydown",{bubbles:!0,cancelable:!0,keyCode:13});I.dispatchEvent(k)}},S=function(){var I= document.activeElement,k=window.location.hash.substr(1);k!==Y?O(document.getElementById(k),!0):I!==R&&O(I,!0);R.removeEventListener("blur",S)};if(!0===P)return!1;P=!0;setTimeout(function(){P=!1},100);var R=document.activeElement,Y=window.location.hash.substr(1);R.addEventListener("blur",S);eyeAble_shadowRoot.getElementById("ttsManualContainerID")&&"none"!==eyeAble_shadowRoot.getElementById("ttsManualContainerID").style.display&&eyeAble_toggleTTSManPage();if(z=document.querySelectorAll(".eyeAble_websiteNavFocus")[0])[].slice.call(z.children).forEach(function(I, k){eyeAbleNavigationTags.linksArray&&eyeAbleNavigationTags.linksArray.includes(I)&&U(I)}),eyeAbleNavigationTags.linksArray&&eyeAbleNavigationTags.linksArray.includes(z)?U(z):z.click()}else L&&(z.shiftKey?a(L,"previous"):a(L,"next"))}}function d(){function z(){var F=1E3;if(!0===H)H=!1,n=setTimeout(z,F);else{var L=!1;!0===window.speechSynthesis.paused||!0===m?(eyeAbleTTS.resume(),m=!1,eyeAbleTTS.getSpeakingState()||(eyeAble_isSafari()||eyeAbleTTS.outputText("Weiter",eyeAbleVariables.UserLang,null,!1, null,null,!1,!0),F=2300,setTimeout(function(){a("all","next")},300))):(eyeAbleTTS.getSpeakingState()?v=0:(F=2300,a("all","next"),v+=1),3<=v&&(v=0,A(),L=!0,eyeAbleTTS.outputText(eyeAble_getMessage("srSiteEnd"),eyeAbleVariables.UserLang,null,!1,null,null,!1,!1)));L||(n=setTimeout(z,F))}}z()}function e(){var z=document.querySelectorAll(".eyeAble_websiteNavFocus");if(z)for(var F=0;F p"));b(); eyeAble_showFeedbackNotification(eyeAble_getMessage("srEnabled"),"ALT + S")}else if(eyeAbleWebsiteNavigationActive)eyeAbleWebsiteNavigationActive&&eyeAbleTTS.getActive()&&(e(),eyeAble_showFeedbackNotification(eyeAble_getMessage("srDisabled"),"ALT + S"));else{if(!eyeAble_readerEnabled)return!1;eyeAble_setVar("SpeechOutput","1");eyeAbleTTS.init();l();O(eyeAble_shadowRoot.querySelector("#srControlerHeaderID > p"));b();eyeAble_showFeedbackNotification(eyeAble_getMessage("srEnabled"),"ALT + S")}},toggleNavOnly:l, toggleSpeechOnly:function(){if(eyeAble_pluginLocalConfig&&eyeAble_pluginLocalConfig.readSpeaker)if(document.querySelector(".rsexpanded")){if(document.querySelector(".rsbtn_closer"))return document.querySelector(".rsbtn_closer").click(),eyeAble_readSpeakerFound=!0,!1}else{if(document.querySelector(".rsbtn_play"))return document.querySelector(".rsbtn_play").click(),eyeAble_readSpeakerFound=!0,!1;if(document.querySelector(".readspeaker"))return document.querySelector(".readspeaker").click(),eyeAble_readSpeakerFound= !0,!1}eyeAbleTTS.getActive()?(eyeAbleTTS.deInit(),A(),h=!1):(eyeAbleTTS.init(),eyeAbleWebsiteNavigationActive&&O(eyeAble_shadowRoot.querySelector("#srControlerHeaderID > p")),eyeAble_showFeedbackNotification(eyeAble_getMessage("srEnabled"),"ALT + S"),h=!0)},setActiveElement:O,addElementsToNavigation:G,getActiveState:function(){return eyeAbleWebsiteNavigationActive},toggleReadWholePage:function(){q?m?(v=0,eyeAbleTTS.getActive()?(-1===n&&d(),eyeAble_shadowRoot.querySelector("button.eyeAble_Play_Pause").classList.add("active_playPause")): q=!1):D():r()},stopReadWholePage:A,pauseReadWholePage:D,forward:J,backward:M,resetNotSpeakingCounter:function(){v=0},displayUserManualWebsiteNavigation:function(){eyeAble_toggleTTSManPage()},reset:function(){e();eyeAble_setActiveCheckVis()}}}();function eyeAble_createManualWindow(){function a(){"tabEndShortcuts"===this.id?eyeAble_shadowRoot.getElementById("shortcutManualCloseID").focus():eyeAble_shadowRoot.getElementById("manualShortLast").focus()}var b='
\n
\n \n

'+eyeAble_getMessage("manHeader")+'

\n
\n '+eyeAble_getMessage(\n
\n
\n
\n
\n

'+ eyeAble_getMessage("manIntro")+'

\n
\n
\n
\n

'+eyeAble_getMessage("manInstant")+'

\n
\n
Alt
\n
Q
\n
\n
\n

'+ eyeAble_getMessage("tipInstant")+'

\n
\n
\n
\n

'+eyeAble_getMessage("manTTSman")+'

\n
\n
Alt
\n
F2
\n
\n
\n

'+ eyeAble_getMessage("manHeaderTTS")+'

\n
\n
\n
\n

'+eyeAble_getMessage("manTool")+'

\n
\n
Alt
\n
1
\n
\n
\n
\n
\n
\n

'+ eyeAble_getMessage("manWinCont")+'

\n
\n
Alt
\n
2
\n
\n
\n
\n
\n
\n

'+eyeAble_getMessage("manWinCC")+ '

\n
\n
Alt
\n
3
\n
\n
\n

'+eyeAble_getMessage("tipCCTxt")+'

\n
\n
\n
\n

'+ eyeAble_getMessage("manWinFunc")+'

\n
\n
Alt
\n
4
\n
\n
\n

'+eyeAble_getMessage("tipFuncTxt")+'

\n
\n
\n
\n

'+ eyeAble_getMessage("manReset")+'

\n
\n
Alt
\n
R
\n
\n
\n

'+eyeAble_getMessage("tipResTxt")+'

\n
\n
\n
\n

'+ eyeAble_getMessage("manTTS")+'

\n
\n
Alt
\n
S
\n
\n
\n

'+eyeAble_getMessage("tipSrTxt")+'

\n
\n
\n
\n

'+ eyeAble_getMessage("manTab")+'

\n
\n
Alt
\n
T
\n
\n
\n

'+eyeAble_getMessage("tipNavTxt")+'

\n
\n
\n
\n

'+ eyeAble_getMessage("manCont")+'

\n
\n
Alt
\n
C
\n
\n
\n

'+eyeAble_getMessage("tipContrast")+'

\n
\n
\n
\n

'+ eyeAble_getMessage("manNight")+'

\n
\n
Alt
\n
N
\n
\n
\n

'+eyeAble_getMessage("tipNight")+'

\n
\n
\n
\n

'+ eyeAble_getMessage("manBf")+'

\n
\n
Alt
\n
B
\n
\n
\n

'+eyeAble_getMessage("tipBfTxt")+'

\n
\n
\n
\n

'+ eyeAble_getMessage("manLarger")+'

\n
\n
Alt
\n
+
\n
\n
\n