1$(function(){const e="accessibleUserSettings",t={language:"de",mute:!1,highlightLinks:!1,largeCursor:!1,stopAnimations:!1,focusBar:!1,greyContrast:!1,highContrast:!1,invertContrast:!1,dyslexiaFont:!1,lineHeight:null,lineHeightByProfile:!1,visualProfile:!1,cognitiveProfile:!1,seizureProfile:!1,concentrationProfile:!1,screenreader:!1,screenreaderCursor:!1,screenreaderSpeed:null,screenreaderVolume:null,hideImages:!1,redBlindness:!1,greenBlindness:!1,blueBlindness:!1,blueFilter:!1,backgroundColor:null,textColor:null,linkColor:null,headingColor:null,wordSpacing:null,letterSpacing:null,textLeft:!1,textCenter:!1,textRight:!1,textJustify:!1,hideTool:!1},n={de:{language:"Sprache:","language-current":"Deutsch","language-german":"Deutsch","language-english":"Englisch","main-heading":"Ein­stellungen für mehr Barriere­freiheit","reset-all":"Auf Standard zurücksetzen","hide-tool":"Widget ausblenden","profiles-heading":"Vor­eingestellte Profile","profiles-visual":"Seh­einschränkungen","profiles-cognitive":"Kognitive Einschränkung","profiles-seizure":"Neigung zu Krampf­anfällen","profiles-concentration":"Konzentrations­schwäche","reset-profiles":"Profile zurücksetzen","style-heading":"Schrift","font-size-heading":"Schrift­gröÃe","font-size-decrease":"Schrift verkleinern","font-size-increase":"Schrift vergröÃern","lineheight-heading":"Zeilen­abstand","lineheight-decrease":" Zeilenabstand verkleinern","lineheight-increase":"Zeilenabstand vergröÃern","wordspacing-heading":"Wort­abstand","wordspacing-decrease":"Wortabstand verkleinern","wordspacing-increase":"Wortabstand vergröÃern","letterspacing-heading":"Zeichen­abstand","letterspacing-decrease":"Zeichenabstand verkleinern","letterspacing-increase":"Zeichenabstand vergröÃern",dyslexia:"Dyslexie­freundlich","alignment-heading":"Textausrichtung","alignment-left":"linksbündig","alignment-center":"zentriert","alignment-right":"rechtsbündig","alignment-justify":"Blocksatz","reset-style":"Schrift zurücksetzen","contrast-blindness-heading":"Kontrast und Farb­schwäche","contrast-heading":"Kontrast","contrasts-heading":"Kontraste","contrast-black-white":"Schwarz-Weià K
1ontrast","contrast-white-black":"WeiÃ-Schwarz Kontrast","contrast-grey":"Grau­stufen","contrast-high-contrast":"Hoher Kontrast","contrast-invert-colors":"Invertierte Farben","filter-blue":"Blau­filter","blindness-heading":"Farbschwäche","blindness-red":"Rot­schwäche","blindness-green":"Grün­schwäche","blindness-blue":"Blau­schwäche","reset-contrast-blindness":"Kontrast und Farbschwäche zurücksetzen","reset-contrast":"Kontrast zurücksetzen","color-heading":"Farben","background-color-heading":"Hintergrund­farbe","text-color-heading":"Text­farbe","link-color-heading":"Link­farbe","heading-color-heading":"Ãberschrift­farbe","color-black":"schwarz","color-white":"weiÃ","color-blue":"blau","color-yellow":"gelb","color-green":"grün","color-red":"rot","color-violet":"violett","color-turquoise":"türkis","reset-colors":"Farben zurücksetzen","content-settings-heading":"Inhalts­einstellungen",mute:"Ton stumm­schalten","highlight-link":"Links hervor­heben","large-cursor":"groÃer Zeiger","stop-animations":"Animationen stoppen","focus-bar":"Fokus Assistent","hide-images":"Bilder/Videos aus­blenden",screenreader:"Texte vorlesen","screenreader-cursor":"Zeiger-Vorlesen","screenreader-cursor-off":"aus","screenreader-cursor-on":"an","screenreader-previous":"Vorherigen Abschnitt vorlesen","screenreader-play":"Vorlesen starten","screenreader-pause":"Vorlesen pausieren","screenreader-resume":"Vorlesen fortsetzen","screenreader-next":"Nächsten Abschnitt vorlesen","screenreader-settings-heading":"Vorlese-Einstellungen","screenreader-settings-close":"Vorlese-Einstellungen schlieÃen","screenreader-speed-heading":"Geschwindigkeit","screenreader-speed-decrease":"Vorlesegeschwindigkeit verringern","screenreader-speed-increase":"Vorlesegeschwindigkeit erhöhen","screenreader-volume-heading":"Lautstärke","screenreader-volume-decrease":"Vorleselautstärke verringern","screenreader-volume-increase":"Vorleselautstärke erhöhen","screenreader-stop":"Vorlesen beenden","accessibility-statement":"Barrierefreiheits­erklärung"},en:{language:"Language:","language-current":"English","language-german":"German","language-english":"English","main-heading":"Access­ibility settings","reset-all":"Reset to default","hide-tool":"Hide widget","profiles-heading":"Preset profiles","profiles-visual":"Visual impairments","profiles-cognitive":"Cognitive impairments","profiles-seizure":"Seizure-safe mode","profiles-concentration":"Attention difficulties","reset-profiles":"Reset profiles","style-heading":"Font","font-size-heading":"Font size","font-size-decrease":"Decrease font size","font-size-increase":"Increase font size","lineheight-heading":"Line spacing","lineheight-decrease":"Decrease line spacing","lineheight-increase":"Increase line spacing","wordspacing-heading":"Word spacing","wordspacing-decrease":"Decrease word spacing","wordspacing-increase":"Increase word spacing","letterspacing-heading":"Letter Spacing","letterspacing-decrease":"Decrease letter Spacing","letterspacing-increase":"Increase letter Spacing",dyslexia:"Dyslexia-friendly","alignment-heading":"Text alignment","alignment-left":"Left aligned","alignment-center":"Centered","alignment-right":"Right aligned","alignment-justify":"Justified","reset-style":"Reset font","contrast-blindness-heading":"Contrast and color blindness","contrast-heading":"Contrast","contrasts-heading":"Contrasts","contrast-black-white":"White on black contrast","contrast-white-black":"Black on white contrast","contrast-grey":"Grayscale","contrast-high-contrast":"High contrast","contrast-invert-colors":"Invert colors","filter-blue":"Blue light filter","blindness-heading":"Color blindness","blindness-red":"Red color blindness","blindness-green":"Green color blindness","blindness-blue":"Blue color blindness","reset-contrast-blindness":"Reset contrasts and color blindness","reset-contrast":"Reset contrasts","color-heading":"Colors","background-color-heading":"Background color","text-color-heading":"Text color","link-color-heading":"Link color","heading-color-heading":"Heading color","color-black":"black","color-white":"white","color-blue":"blue","color-yellow":"yellow","color-green":"green","color-red":"red","color-violet":"violet","color-turquoise"
1:"turquoise","reset-colors":"Reset colors","content-settings-heading":"Content settings",mute:"Mute","highlight-link":"Highlight links","large-cursor":"Large pointer","stop-animations":"Stop animations","focus-bar":"Focus guide","hide-images":"Hide images and videos",screenreader:"Screen reader","screenreader-cursor":"Cursor read aloud","screenreader-cursor-off":"off","screenreader-cursor-on":"on","screenreader-previous":"Read previous section","screenreader-play":"Start reading","screenreader-pause":"Pause reading","screenreader-resume":"Resume reading","screenreader-next":"Read next section","screenreader-settings-heading":"Reading settings","screenreader-settings-close":"Close reading settings","screenreader-speed-heading":"Speed","screenreader-speed-decrease":"Decrease reading speed","screenreader-speed-increase":"Increase reading speed","screenreader-volume-heading":"Volume","screenreader-volume-decrease":"Decrease volume","screenreader-volume-increase":"Increase volume","screenreader-stop":"Stop reading","accessibility-statement":"Accessibility statement"}},r={...t,...JSON.parse(localStorage.getItem(e)||"{}")},s=[{selector:"#nivo-crtlbtn",playClass:"nivo-playNav",wasPaused:null},{selector:'[id^="bannerbanner"][id$="-toggle-button"]',playClass:"start",wasPaused:null},{selector:"#albums-toggle-button",playClass:"start",wasPaused:null},{selector:"#galleries-toggle-button",playClass:"start",wasPaused:null},{selector:"#newsticker-toggle-button",playClass:"start",wasPaused:null},{selector:"#counter-toggle-button",playClass:"start",wasPaused:null}],a={active:!1,paused:!1,index:0,blocks:[],utterance:null,cursorUtterance:null,cursorElement:null,cursorBlocks:[]},i=$("html"),o=$("body"),l=(e,t)=>{r[e]=t,z[e]?.(t),H(e,t)},c=()=>{r.lineHeight=null,z.lineHeight(null),localStorage.setItem(e,JSON.stringify(r))},d={visualProfile:{settings:["highlightLinks","largeCursor","stopAnimations"],onEnable(){null==r.lineHeight&&(r.lineHeight=2,r.lineHeightByProfile=!0,z.lineHeight(2))},onDisable(){r.lineHeightByProfile&&(c(),r.lineHeightByProfile=!1)}},cognitiveProfile:{settings:["mute","highlightLinks","largeCursor","stopAnimations"]},seizureProfile:{settings:["stopAnimations"]},concentrationProfile:{settings:["mute","stopAnimations","focusBar","dyslexiaFont"]}},u=(e,t)=>{const n=d[e];if(!n)return;const{settings:s,onEnable:a,onDisable:i}=n;var o;t?(o=e,Object.keys(d).forEach(e=>{e!==o&&!0===r[e]&&(r[e]=!1,u(e,!1),H(e,!1))}),s.forEach(e=>l(e,!0)),a?.()):(s.forEach(e=>{!0===r[e]&&l(e,!1)}),i?.())},g=$('\n <article id="screenreaderTool">\n <h2 data-i18n="screenreader">Texte vorlesen</h2>\n <button type="button" data-setting="screenreaderCursor" data-icon="ads_click"><span class="sr-only" data-i18n="screenreader-cursor">Zeiger-Vorlesen</span><span data-i18n="screenreader-cursor-off" id="screenreader-cursor-status">aus</span></button>\n <button type="button" data-icon="fast_rewind"><span class="sr-only" data-i18n="screenreader-previous">Vorherigen Abschnitt vorlesen</span></button>\n <button type="button" id="screenreaderToggle" data-state="idle" data-icon="play_arrow"><span class="sr-only" data-i18n="screenreader-play">Vorlesen starten</span></button>\n <button type="button" data-icon="fast_forward"><span class="sr-only" data-i18n="screenreader-next">Nächsten Abschnitt vorlesen</span></button>\n <details>\n <summary data-icon="settings"><span class="sr-only" data-i18n="screenreader-settings-heading">Vorlese-Einstellungen</span></summary>\n <div id="screenreaderToolPopup" class="accessibilityToolGrid">\n <h2 aria-hidden="true" data-i18n="screenreader-settings-heading">Vorlese-Einstellungen</h2>\n <button type="button" id="screenreaderToolPopup_close" data-icon="close"><span class="sr-only" data-i18n="screenreader-settings-close">Vorlese-Einstellungen schlieÃen</span></button>\n <article class="accessibilityToolButton noHover gridTwo" data-icon="speed">\n <h3 data-i18n="screenreader-speed-heading">Geschwindigkeit</h3>\n <div class="accessibilityToolSlider">\n <button type="button" data-speed="-1" id="speed_decr_tool" aria-label="Vorlesegeschwindigkeit verringern" data-i18n-aria="screenreader-speed-decrease">-</button>
1\n <span id="screenreader_speed_value" class="accessibilityToolPercentage"><span>1.0</span>x</span>\n <button type="button" data-speed="1" id="speed_incr_tool" aria-label="Vorlesegeschwindigkeit erhöhen" data-i18n-aria="screenreader-speed-increase">+</button>\n </div>\n </article>\n <article class="accessibilityToolButton noHover gridTwo" data-icon="volume_up">\n <h3 data-i18n="screenreader-volume-heading">Lautstärke</h3>\n <div class="accessibilityToolSlider">\n <button type="button" data-volume="-1" id="volume_decr_tool" aria-label="Vorleselautstärke verringern" data-i18n-aria="screenreader-volume-decrease">-</button>\n <span id="screenreader_volume_value" class="accessibilityToolPercentage"><span>100</span>%</span>\n <button type="button" data-volume="1" id="volume_incr_tool" aria-label="Vorleselautstärke erhöhen" data-i18n-aria="screenreader-volume-increase">+</button>\n </div>\n </article>\n </div>\n </details>\n <button type="button" data-setting="screenreader" data-icon="close"><span class="sr-only" data-i18n="screenreader-stop">Vorlesen beenden</span></button>\n </article>\n ');function h(e){return(e||"").replace(/\s+/g," ").trim()}function p(e){return h(e).replace(/\s*\*\s*$/u,"").trim()}function f(e){if(!e[0])return"";if(e.is('input[type="submit"], input[type="button"], input[type="reset"]')){const t=h(e.val());if(t)return t}if(e.is("input, select, textarea"))return function(e){const t=function(e){const t=e[0];if(!t)return"";const n=e.attr("aria-labelledby");if(n){const e=[];if(n.split(/\s+/).forEach(function(t){const n=document.getElementById(t);if(n){const t=p(m($(n)));t&&e.push(t)}}),e.length)return e.join(" ")}if(t.id){const e=$('label[for="'+CSS.escape(t.id)+'"]').first();if(e.length){const t=p(m(e));if(t)return t}}const r=e.closest("label");if(r.length){const e=r.clone();return e.find("input, select, textarea, button").remove(),p(m(e))}return p(e.attr("aria-label"))}(e);return t?function(e){return e.prop("required")||"true"===e.attr("aria-required")}(e)?t+", Pflichtfeld":t:""}(e);let t=e;const n=e.closest("a, button, input, select, textarea");n.length&&(t=n);const r=t.attr("aria-labelledby");if(r){const e=[];if(r.split(/\s+/).forEach(function(t){const n=document.getElementById(t);if(n){const t=m($(n));t&&e.push(t)}}),e.length)return e.join(" ")}const s=h(t.attr("aria-label"));if(s)return s;const a=m(t),i=t.find("img[alt]").first();let o="";if(i.length){const e=i.closest(".slick-slide");e.length&&!e.hasClass("slick-current")||(o=h(i.attr("alt")))}if(a&&!function(e){if(!(e=h(e)))return!0;if(e.length<=3){if(/[\+\-Ã÷=<>ââââââââââââ¦â
â¢â¦â®â¯]/.test(e))return!0;if(/^[A-Za-zÃÃÃäöüÃ][^\w\s]*$/u.test(e))return!0}return!!/^[^\p{L}\p{N}]+$/u.test(e)}(a))return a;if(o)return o;return h(t.attr("title"))||a||""}function m(e){const t=e.clone();return t.find("script, style, noscript, template").remove(),h(t.text())}function b(){const e="h1, h2, h3, h4, h5, h6, p, figcaption, span, button, div>a, input, select, textarea",t="caption, tr";return $(e+", "+t+", li").not("#accessibilityTool *, #screenreaderTool *").not('li[class*="menue_point_"]:has(> a[aria-expanded="false"]) li').not('li[class*="menue_point_"]:has(> ul[style*="display"][style*="none"]) li').not(".slick-dots li, .slick-dots li span, #content_buttons_div li, #portal-breadcrumb li, #contenttop_right li, #contentbottom_right ul li").not('[aria-hidden="true"], [hidden], :hidden').not(".no-screenreader, .no-screenreader *").not("a *, button *").not("label span, label br").filter(function(){const t=$(this);return!t.is("ul:not(.navbar-nav) li")||0===t.find(e).length}).filter(function(){return f($(this)).length}).map(function(){const e=$(this),t=e.children('a[class*="navpoint_"]').first();return t.length?{element:t,text:t.text().replace(/\s+/g," ").trim()}:{element:e,text:f(e)}}).get().map(function(n,r,s){if($(n.element).is(t)){if($(n.element).is("caption")&&(n.text="Titel: "+n.text),0!==r&&$(s[r-1].element).is(t)||(n.text="Tabelle: "+n.text),$(n.element).is("tr")){let e=[];$(n.element).children("th, td").each(function(){e.push(m($(this)))}),n.text=e.join(", ")}r!==s.length-1&&$(s[r+1].element).is(t)||(n.text+=", Tabelle Ende.")}return!$(n.element).is("input, select, textarea, button")&&n.element[0].parentElement&&$(n.element[0].parentElement).is(e)?null:n}).filter(function(e){return null!==e})}
1function v(){a.utterance&&(a.utterance.onend=null,speechSynthesis.cancel(),a.utterance=null)}function y(){a.cursorUtterance&&(a.cursorUtterance.onend=null,a.cursorUtterance.onerror=null,speechSynthesis.cancel(),a.cursorUtterance=null),a.cursorElement&&(a.cursorElement.removeClass("screenreader-active-cursor"),a.cursorElement=null)}const C={timer:null,lastElement:null,lastItem:null,indicator:null};function k(){C.timer&&(clearTimeout(C.timer),C.timer=null)}function S(){C.indicator&&(C.indicator.remove(),C.indicator=null)}function x(e){if(!r.screenreaderCursor)return;const t=function(e,t){const n=document.elementFromPoint(e,t);if(!n)return null;const r=a.cursorBlocks;let s=null,i=-1/0;return r.forEach(function(e){const t=e.element[0];if(!t||!t.isConnected)return;if(t!==n&&!$.contains(t,n))return;const r=$(t);let a=0;r.is("a, button, input, select, textarea")&&(a+=100),r.is("h1, h2, h3, h4, h5, h6, p, figcaption")&&(a+=50),r.is("span, div")&&(a-=10);const o=t.getBoundingClientRect();o.width>0&&o.height>0&&(a+=Math.min(20,o.width*o.height/1e4)),a>i&&(i=a,s=e)}),s}(e.clientX,e.clientY);if(!t)return k(),C.lastElement&&C.lastElement.removeClass("screenreader-set-cursor"),C.lastElement=null,C.lastItem=null,void S();const n=$(t.element);n.length&&(C.lastElement&&C.lastElement[0]===n[0]||(k(),C.lastElement&&C.lastElement.removeClass("screenreader-set-cursor"),C.lastElement=n,C.lastItem=t,S(),function(e){S();const t=e[0];if(!t)return;const n=t.getBoundingClientRect(),r=$("<div>",{class:"screenreader-cursor-indicator","aria-hidden":"true"});r.css({left:window.scrollX+n.left-5+"px",top:window.scrollY+n.top-5+"px"}),o.append(r),C.indicator=r}(n),n.addClass("screenreader-set-cursor"),C.timer=setTimeout(function(){C.timer=null,C.lastElement&&C.lastElement[0]===n[0]&&C.lastItem===t&&(S(),n.removeClass("screenreader-set-cursor"),y(),function(e){if(!e||!e.text)return;const t=$(e.element);if(!t.length)return;a.cursorElement=t,t.addClass("screenreader-active-cursor");const n=new SpeechSynthesisUtterance(e.text);n.volume=r.screenreaderVolume??1,n.rate=r.screenreaderSpeed??1,n.onend=function(){a.cursorUtterance===n&&(a.cursorUtterance=null),a.cursorElement===t&&(t.removeClass("screenreader-active-cursor"),a.cursorElement=null)},n.onerror=function(){a.cursorUtterance===n&&(a.cursorUtterance=null),a.cursorElement===t&&(t.removeClass("screenreader-active-cursor"),a.cursorElement=null)},a.cursorUtterance=n,speechSynthesis.speak(n)}(t))},1e3)))}function w(){$(document).off("mousemove.screenreaderCursor"),k(),C.lastElement&&C.lastElement.removeClass("screenreader-set-cursor"),C.lastElement=null,C.lastItem=null,S(),y()}function T(e){const t=$("#screenreaderToggle");if(!t.length)return;const s=r.language,a=n[s],i={idle:{icon:"play_arrow",key:"screenreader-play"},playing:{icon:"pause",key:"screenreader-pause"},paused:{icon:"play_arrow",key:"screenreader-resume"}}[e];t.attr("data-icon",i.icon).attr("data-state",e).find(".sr-only").text(a[i.key])}function E(){v(),w(),a.active=!1,a.paused=!1,a.index=0,a.blocks=[],a.cursorBlocks=[],$(".screenreader-active-sentence").removeClass("screenreader-active-sentence"),T("idle")}function _(e){if(!a.active)return;if(!a.blocks[e])return;v(),a.index=e;const{element:t,text:n}=a.blocks[e];$(".screenreader-active-sentence").removeClass("screenreader-active-sentence"),t.addClass("screenreader-active-sentence"),t[0].scrollIntoView({behavior:"smooth",block:"center"});const s=new SpeechSynthesisUtterance(n);s.volume=r.screenreaderVolume??1,s.rate=r.screenreaderSpeed??1,s.onend=()=>{if(t.removeClass("screenreader-active-sentence"),!a.active||a.paused)return;const e=a.index+1;e<a.blocks.length?_(e):E()},a.utterance=s,speechSynthesis.speak(s)}function P(t=null){r.screenreaderCursor&&(r.screenreaderCursor=!1,z.screenreaderCursor(!1),H("screenreaderCursor",!1),localStorage.setItem(e,JSON.stringify(r))),a.blocks=b(),a.blocks.length&&(null===t&&(t=function(e){const t=function(){const e=["main","#content","#content-wrapper"];for(const t of e){const e=$(t).first();if(e.length)return e}return $()}();if(!t.length)return 0;const n=t[0],r=t.find("h1, h2, h3, h4, h5, h6, p").filter(function(){return!$(this).closest(".
1newsticker-position").length&&f($(this)).length}).first();if(r.length){const t=r[0],n=e.findIndex(function(e){return e.element[0]===t});if(n>=0)return n}const s=e.findIndex(function(e){const t=e.element[0];return t===n||$.contains(n,t)});return s>=0?s:0}(a.blocks)),a.index=t,a.active=!0,a.paused=!1,T("playing"),_(t))}function V(){const e=!0===r.screenreaderCursor,t=$('#screenreaderTool button[data-setting="screenreaderCursor"]'),s=$("#screenreader-cursor-status");t.toggleClass("active",e).attr("aria-pressed",e?"true":"false"),s.length&&s.text(n[r.language][e?"screenreader-cursor-on":"screenreader-cursor-off"])}$(document).on("click","#screenreaderToggle",function(){if(a.active)return a.paused?(a.paused=!1,T("playing"),void _(a.index)):(a.paused=!0,v(),$(".screenreader-active-sentence").removeClass("screenreader-active-sentence"),void T("paused"));P()}),$(document).on("click","#screenreaderTool button[data-speed]",function(){((t=0)=>{null==r.screenreaderSpeed&&(r.screenreaderSpeed=1),r.screenreaderSpeed=+(r.screenreaderSpeed+.1*t).toFixed(1),r.screenreaderSpeed=Math.max(.1,Math.min(2,r.screenreaderSpeed)),z.screenreaderSpeed(r.screenreaderSpeed),localStorage.setItem(e,JSON.stringify(r))})(Number($(this).data("speed")))}),$(document).on("click","#screenreaderTool button[data-volume]",function(){((t=0)=>{null==r.screenreaderVolume&&(r.screenreaderVolume=1),r.screenreaderVolume=+(r.screenreaderVolume+.1*t).toFixed(1),r.screenreaderVolume=Math.max(0,Math.min(1,r.screenreaderVolume)),z.screenreaderVolume(r.screenreaderVolume),localStorage.setItem(e,JSON.stringify(r))})(Number($(this).data("volume")))}),$(document).on("click",'#screenreaderTool button[data-icon="fast_forward"]',function(){if(!a.active)return void P();a.paused=!1,v(),$(".screenreader-active-sentence").removeClass("screenreader-active-sentence");const e=Math.min(a.index+1,a.blocks.length-1);T("playing"),_(e)}),$(document).on("click",'#screenreaderTool button[data-icon="fast_rewind"]',function(){if(!a.active)return void P();a.paused=!1,v(),$(".screenreader-active-sentence").removeClass("screenreader-active-sentence");const e=Math.max(a.index-1,0);T("playing"),_(e)}),$(document).on("click","#screenreaderToolPopup_close",function(){$("#screenreaderTool summary").trigger("click")});const B=(e,t)=>{const n=e.replace("Color","-color");for(let e=1;e<=8;e++)o.removeClass(`${n}-${e}`);null!=t&&o.addClass(`${n}-${t}`)},I=(e,t)=>{const n=$(`.accessibilityColorPicker button[data-setting="${e}"]`);n.removeClass("active"),null!=t&&n.filter(`[data-color="${t}"]`).addClass("active")},z={language:t=>{const s=n[t];s&&($("[data-i18n]").each(function(){const e=$(this).data("i18n");s[e]&&$(this).html(s[e])}),$("[data-i18n-aria]").each(function(){const e=$(this).data("i18n-aria");s[e]&&$(this).attr("aria-label",s[e])}),$("[data-set-language]").removeClass("active").filter(`[data-set-language="${t}"]`).addClass("active").attr("aria-pressed","false"),$(`[data-set-language="${t}"]`).attr("aria-pressed","true"),$('[data-language-name="language"]').text(s.language),localStorage.setItem(e,JSON.stringify(r)),T($("#screenreaderToggle").attr("data-state")||"idle"),V())},mute:e=>$("audio, video").prop("muted",e),highlightLinks:e=>o.toggleClass("highlight-links",e),largeCursor:e=>o.toggleClass("large-cursor",e),stopAnimations:e=>{o.toggleClass("stop-animations",e),s.forEach(t=>{const n=$(t.selector);n.length&&n.each(function(){const n=$(this);if(e)return void 0===n.data("wasPaused")&&n.data("wasPaused",n.hasClass(t.playClass)),void(n.hasClass(t.playClass)||n.trigger("click"));!1===n.data("wasPaused")&&n.hasClass(t.playClass)&&n.trigger("click"),n.removeData("wasPaused")})})},focusBar:e=>{o.toggleClass("focus-bar",e);const t="focus-bar-top",n="focus-bar-bottom";let r=$("#"+t),s=$("#"+n);if(!e)return $(document).off("mousemove.focusBar"),r.remove(),void s.remove();r.length||(r=$("<div>",{id:t}).appendTo(o),s=$("<div>",{id:n}).appendTo(o));let a=!1;$(document).on("mousemove.focusBar",function(e){a||(a=!0,requestAnimationFrame(()=>{const t=e.clientY,n=window.innerHeight;r.css("height",Math.max(0,t-100)),s.css("height",Math.max(0,n-t-100)),a=!1}))})},greyContrast:e=>i.toggleClass("grey-contrast",e),highContrast:e=>i.toggleClass("high-contrast",e),invertContrast:e=>i.toggleClass("invert-contrast",e),dyslexiaFont:e=>o.toggleClass("dyslexia-font",e),lineHeight:e=>{const t=$("#lineheight_tool_percentage span");if(null==e)return o.css("line-height","").removeClass("line-height"),void t.text("150");e=Math.min(2,Math.max(1,e)),o.css("line-height",e).addClass("line-height"),t.text(Math.round(100*e))},visualProfile:e=>u("visualProfile",e),cognitiveProfile:e=>u("cognitiveProfile",e),seizureProfile:e=>u("seizureProfile",e),concentrationProfile:e=>u("concentrationProfile",e),screenreader:e=>{if(e)return g.insertAfter("#accessibilityTool"),z.language(r.language),z.screenreaderSpeed(r.screenreaderSpeed??1),void z.screenreaderVolume(r.screenreaderVolume??1);g.remove()},screenreaderCursor:e=>{e?(a.active&&E(),a.cursorBlocks=b(),$(document).off("mousemove.screenreaderCursor"),$(document).on("mousemove.screenreaderCursor",x)):w(),V()},screenreaderSpeed:e=>{const t=$("#screenreader_speed_value span");null==e&&(e=1),e=Math.max(.1,Math.min(2,e)),t.text(e.toFixed(1)),a.utterance&&(a.utterance.rate=e)},screenreaderVolume:e=>{const t=$("#screenreader_volume_value span");null==e&&(e=1),e=Math.max(0,Math.min(1,e)),t.text(Math.round(100*e)),a.utterance&&(a.utterance.volume=e)},hideImages:e=>{o.toggleClass("hide-images",e),$("video").prop("muted",e)},redBlindness:e=>o.toggleClass("red-blindness",e),greenBlindness:e=>o.toggleClass("green-blindness",e),blueBlindness:e=>o.toggleClass("blue-blindness",e),blueFilter:e=>$("#blueFilter_tool").toggleClass("active",e),backgroundColor:e=>B("backgroundColor",e),textColor:e=>B("textColor",e),linkColor:e=>B("linkColor",e),headingColor:e=>B("headingColor",e),wordSpacing:e=>{const t=$("#wordspacing_tool_percentage span");if(null==e||e<=1)return o.css("word-spacing",""),void t.text("100");const n=+(e-1).toFixed(1);o.css("word-spacing",`${n}em`),t.text(Math.round(100*e))},letterSpacing:e=>{const t=$("#letterspacing_tool_percentage span");if(null==e||e<=1)return o.css("letter-spacing",""),void t.text("100");const n=+(e-1).toFixed(1);o.css("letter-spacing",`${n}em`),t.text(Math.round(100*e))},textLeft:e=>o.toggleClass("text-left",e),textCenter:e=>o.toggleClass("text-center",e),textRight:e=>o.toggleClass("text-right",e),textJustify:e=>
1o.toggleClass("text-justify",e)},H=(e,t)=>{if(e.endsWith("Color"))return;const n=$(`#accessibilityTool [data-setting="${e}"]`);n.toggleClass("active",t),n.attr("aria-pressed",t?"true":"false")};function N(){Object.keys(r).forEach(e=>{r[e]=t[e]}),Object.entries(t).forEach(([e,t])=>{z[e]?.(t),e.endsWith("Color")?I(e,null):H(e,t)}),E()}$.each(r,(e,t)=>{d[e]&&!0!==t?H(e,t):"lineHeight"===e&&null==t||(z[e]?.(t),e.endsWith("Color")&&I(e,t),H(e,t))}),z.language(r.language),V(),$(document).on("click","[data-set-language]",function(){const t=$(this).data("set-language");r.language=t,z.language(t),localStorage.setItem(e,JSON.stringify(r))}),$(document).on("click","#accessibilityTool [data-setting], #screenreaderTool [data-setting]",function(){const t=$(this).data("setting"),n=!r[t];t&&t.endsWith("Color")||("screenreader"===t&&E(),"redBlindness"!==t&&"greenBlindness"!==t&&"blueBlindness"!==t||$(this).siblings('button[data-icon="colors"].active').trigger("click"),"textLeft"!==t&&"textCenter"!==t&&"textRight"!==t&&"textJustify"!==t||$(this).siblings("button.active").trigger("click"),r[t]=n,z[t]?.(n),H(t,n),localStorage.setItem(e,JSON.stringify(r)))}),$(document).on("click","#accessibilityTool .accessibilityColorPicker button",function(){const t=$(this),n=t.data("setting"),s=Number(t.data("color")),a=r[n]===s?null:s;r[n]=a,z[n]?.(a),I(n,a),localStorage.setItem(e,JSON.stringify(r))}),$(document).on("click","#colorsPicker_tool",function(){["backgroundColor","textColor","linkColor","headingColor"].forEach(e=>{r[e]=null,z[e]?.(null),I(e,null)}),localStorage.setItem(e,JSON.stringify(r))}),$(document).on("click","#accessibilityTool button[data-lineheight]",function(){((t=0)=>{null==r.lineHeight&&(r.lineHeight=1.5),r.lineHeight=+(r.lineHeight+.1*t).toFixed(1),r.lineHeightByProfile=!1,z.lineHeight(r.lineHeight),localStorage.setItem(e,JSON.stringify(r))})(Number($(this).data("lineheight")))}),$(document).on("click","#accessibilityTool button[data-wordspacing]",function(){((t=0)=>{null==r.wordSpacing&&(r.wordSpacing=1),r.wordSpacing=+(r.wordSpacing+.1*t).toFixed(1),r.wordSpacing=Math.max(1,Math.min(2,r.wordSpacing)),z.wordSpacing(r.wordSpacing),localStorage.setItem(e,JSON.stringify(r))})(Number($(this).data("wordspacing")))}),$(document).on("click","#accessibilityTool button[data-letterspacing]",function(){((t=0)=>{null==r.letterSpacing&&(r.letterSpacing=1),r.letterSpacing=+(r.letterSpacing+.1*t).toFixed(1),r.letterSpacing=Math.max(1,Math.min(2,r.letterSpacing)),z.letterSpacing(r.letterSpacing),localStorage.setItem(e,JSON.stringify(r))})(Number($(this).data("letterspacing")))}),$(document).on("click","#resetAllAccessibilityTool",function(){localStorage.removeItem(e),N()}),$(document).on("click",'#accessibilityTool .accessibilityToolGrid button[data-icon="replay"]',function(){"font_std_tool"===this.id&&(c(),r.wordSpacing=null,z.wordSpacing(null),localStorage.setItem(e,JSON.stringify(r)),r.letterSpacing=null,z.letterSpacing(null),localStorage.setItem(e,JSON.stringify(r)),$(".accessibilityToolAlignment").find("button.active").trigger("click")),$(this).siblings("button.active").trigger("click")}),$(document).on("click","#hideAccessibilityTool",function(){$("#accessibilityTool").hide(),localStorage.setItem(e,JSON.stringify(t)),N()})});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.