PageSourceSearch

https://operanb.ro/wp-content/plugins/readabler/js/readabler.min.js?ver=1.5.0

js operanb.ro collected 2026-10-02 06:37:35 UTC 83,442 bytes, 14 lines download raw bytes

1(()=>{"use strict";var e={403:(e,t,n)=>{n.d(t,{j:()=>o});let a=window.mdpReadablerOptions,o={bigBlackCursorStyle:document.createElement("style"),init:function(){document.querySelector("#mdp-readabler-action-big-black-cursor").addEventListener("ReadablerToggleBoxChanged",o.bigBlackCursor)},bigBlackCursor:function(e){e.target.classList.contains("mdp-active")?(o.disableWhite(),document.body.classList.add("mdp-readabler-big-black-cursor"),o.bigBlackCursorStyle.innerHTML=`\n\n                /*noinspection CssUnusedSymbol*/\n                body.mdp-readabler-big-black-cursor,\n                body.mdp-readabler-big-black-cursor * {\n                    /*noinspection CssUnknownTarget*/\n                    cursor: url("${a.pluginURL}images/cursor/black-cursor.svg"), default !important\n                }\n                \n                body.mdp-readabler-big-black-cursor * input, \n                body.mdp-readabler-big-black-cursor * textarea, \n                body.mdp-readabler-big-black-cursor * select, \n                body.mdp-readabler-big-black-cursor * a, \n                body.mdp-readabler-big-black-cursor * button, \n                body.mdp-readabler-big-black-cursor * [role=button] {\n                    /*noinspection CssUnknownTarget*/\n                    cursor: url("${a.pluginURL}images/cursor/black-pointer.svg"), default !important;\n                }\n                \n            `,document.head.appendChild(o.bigBlackCursorStyle)):document.body.classList.remove("mdp-readabler-big-black-cursor")},disableWhite:function(){let e=document.getElementById("mdp-readabler-action-big-white-cursor");null!==e&&e.classList.contains("mdp-active")&&e.click()}}},443:(e,t,n)=>{n.d(t,{h:()=>o});let a=window.mdpReadablerOptions,o={bigWhiteCursorStyle:document.createElement("style"),init:function(){document.querySelector("#mdp-readabler-action-big-white-cursor").addEventListener("ReadablerToggleBoxChanged",o.bigWhiteCursor)},bigWhiteCursor:function(e){e.target.classList.contains("mdp-active")?(o.disableBlack(),document.body.classList.add("mdp-readabler-big-white-cursor"),o.bigWhiteCursorStyle.innerHTML=`\n\n                /*noinspection CssUnusedSymbol*/\n                body.mdp-readabler-big-white-cursor,\n                body.mdp-readabler-big-white-cursor * {\n                    /*noinspection CssUnknownTarget*/\n                    cursor: url("${a.pluginURL}images/cursor/white-cursor.svg"), default !important\n                }\n                \n                body.mdp-readabler-big-white-cursor * input, \n                body.mdp-readabler-big-white-cursor * textarea, \n                body.mdp-readabler-big-white-cursor * select, \n                body.mdp-readabler-big-white-cursor * a, \n                body.mdp-readabler-big-white-cursor * button, \n                body.mdp-readabler-big-white-cursor * [role=button] {\n                    /*noinspection CssUnknownTarget*/\n                    cursor: url("${a.pluginURL}images/cursor/white-pointer.svg"), default !important;\n                }\n                \n            `,document.head.appendChild(o.bigWhiteCursorStyle)):document.body.classList.remove("mdp-readabler-big-white-cursor")},disableBlack:function(){let e=document.getElementById("mdp-readabler-action-big-black-cursor");null!==e&&e.classList.contains("mdp-active")&&e.click()}}},47:(e,t,n)=>{n.d(t,{M:()=>o});var a=n(63);let o={darkContrastStyle:document.createElement("style"),init:function(){document.querySelector("#mdp-readabler-action-dark-contrast").addEventListener("ReadablerToggleBoxChanged",o.darkContrast)},darkContrast:function(e){e.target.classList.contains("mdp-active")?(a.Y.disableOthers(e.target),document.body.classList.add("mdp-readabler-dark-contrast")):document.body.classList.remove("mdp-readabler-dark-contrast")}}},223:(e,t,n)=>{n.d(t,{D:()=>o});var a=n(63);const o={init:function(){document.querySelector("#mdp-readabler-action-high-contrast").addEventListener("ReadablerToggleBoxChanged",o.highContrast)},highContrast:function(e){e.target.classList.contains("mdp-active")?(a.Y.disableOthers(e.target),document.body.classList.add("mdp-readabler-high-contrast")):document.body.classList.remove("mdp-readabler-high-contrast")}}}
1,249:(e,t,n)=>{n.d(t,{B:()=>o});var a=n(63);let o={lightContrastStyle:document.createElement("style"),init:function(){document.querySelector("#mdp-readabler-action-light-contrast").addEventListener("ReadablerToggleBoxChanged",o.lightContrast)},lightContrast:function(e){e.target.classList.contains("mdp-active")?(a.Y.disableOthers(e.target),document.body.classList.add("mdp-readabler-light-contrast")):document.body.classList.remove("mdp-readabler-light-contrast")}}},902:(e,t,n)=>{n.d(t,{c:()=>o});var a=n(63);const o={init:function(){document.querySelector("#mdp-readabler-action-monochrome").addEventListener("ReadablerToggleBoxChanged",o.monochrome)},monochrome:function(e){e.target.classList.contains("mdp-active")?(a.Y.disableOthers(e.target),document.body.classList.add("mdp-readabler-monochrome")):document.body.classList.remove("mdp-readabler-monochrome")}}},710:(e,t,n)=>{n.d(t,{w:()=>o});var a=n(874);let o={init:function(){let e=document.querySelectorAll(".mdp-readabler-toggle-box");e.forEach(e=>e.addEventListener("click",e=>o.toggle(e))),e.forEach(e=>e.addEventListener("keydown",e=>o.toggle(e)))},toggle:function(e){if("keydown"===e.type&&13!==e.keyCode)return;let t=e.target.closest(".mdp-readabler-toggle-box");t.classList.toggle("mdp-active"),(0,a.c)(t.id,t.classList.contains("mdp-active"));const n=new CustomEvent("ReadablerToggleBoxChanged",{});t.dispatchEvent(n)},loadSaved:function(){document.querySelectorAll(".mdp-readabler-toggle-box").forEach(e=>{"true"===(0,a.t)(e.id)&&e.click()})}}},63:(e,t,n)=>{n.d(t,{Y:()=>a});const a={disableOthers:function(e){document.querySelectorAll("#mdp-readabler-visually-pleasing-experience-box .mdp-readabler-toggle-box.mdp-active").forEach(t=>{e.id!==t.id&&t.click()})}}},726:(e,t,n)=>{n.d(t,{x:()=>o});var a=n(63);const o={init:function(){document.querySelector("#mdp-readabler-action-high-saturation").addEventListener("ReadablerToggleBoxChanged",o.highSaturation)},highSaturation:function(e){e.target.classList.contains("mdp-active")?(a.Y.disableOthers(e.target),document.body.classList.add("mdp-readabler-high-saturation")):document.body.classList.remove("mdp-readabler-high-saturation")}}},319:(e,t,n)=>{n.d(t,{N:()=>o});var a=n(63);let o={init:function(){document.querySelector("#mdp-readabler-action-low-saturation").addEventListener("ReadablerToggleBoxChanged",o.lowSaturation)},lowSaturation:function(e){e.target.classList.contains("mdp-active")?(a.Y.disableOthers(e.target),document.body.classList.add("mdp-readabler-low-saturation")):document.body.classList.remove("mdp-readabler-low-saturation")}}},700:(e,t,n)=>{n.d(t,{x:()=>r});var a=n(58);let o=window.mdpReadablerOptions,r={readabler:null,AudioContext:window.AudioContext||window.webkitAudioContext||!1,mdp_readabler_context:null,init:function(){document.querySelectorAll("#mdp-readabler-action-text-to-speech").length<1||document.querySelector("#mdp-readabler-action-text-to-speech").addEventListener("ReadablerToggleBoxChanged",r.textToSpeech)},webAudioTouchUnlock:function(){null===r.mdp_readabler_context&&(r.mdp_readabler_context=new AudioContext,r.mdp_readabler_context.resume())},textToSpeech:function(e){e.target.classList.contains("mdp-active")?(r.readabler=new a.I,r.readabler.init(),document.body.addEventListener("click",r.webAudioTouchUnlock,!1),r.voiceGuide(e.target.title),r.highlightParagraph()):(r.readabler=null,document.body.removeEventListener("click",r.webAudioTouchUnlock,!1))},voiceGuide:function(e){if(e.length<1)return;if(null===e.match(/^([\w\-]+)/g))return;let t=new XMLHttpRequest,n=window.mdpReadablerOptions;t.open("POST",n.textToSpeechAjaxUrl,!0),t.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),t.onload=function(){if(this.status>=200&&this.status<400){if(!r.AudioContext)return void console.warn("Error with creating AudioContext.");r.mdp_readabler_context.decodeAudioData(this.response,(function(e){const t=r.mdp_readabler_context.createBufferSource();t.buffer=e,t.connect(r.mdp_readabler_context.destination),t.start(0)}),e=>console.warn("Error with decoding audio data"+e.err))}else console.error(this.response)},t.onerror=function(){console.error("Connection error.")},t.responseType="arraybuffer",t.send(`action=readablergspeak&nonce=${n.textToSpeechNonce}&text=${e}`)},highlightParagraph:function(){o.highlightP&&document.querySelectorAll("p").forEach((function(e){e.addEventListener("click",(function(t){let n=document.createRange(),a=window.getSelection();n.selectNodeContents(e),a.removeAllRanges(),a.addRange(n)}))}))}}},58:(e,t,n)=>{n.d(t,{I:()=>o});var a=n(700);const o=function(){let e=null,t=!1;function n(e,t){const n=document.createElement("div");return n.classList.add("mdp-readabler-tts-button"),n.innerHTML=e,n.onclick=t,"mdp-readabler-tts-preloader"===n.id?n.style.transition="none":(n.onmouseover=function(){this.style.transform="scale(1.2)"},n.onmouseout=function(){this.style.transform="scale(1)"}),n}
1function o(){e&&(e.onended=null,e.stop(0))}return function(){const r={gspeak:!0,disable:!1},i='<svg class="selection__icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" enable-background="new 0 0 24 24" width="24" height="24"><path d="M19.3,10.7L9.1,4.2C8.8,4,8.4,4,8.1,4C7,4,7,4.9,7,5.1v13.4c0,0.2,0,1.1,1.1,1.1c0.3,0,0.7,0,1-0.2l10.2-6.5c0.8-0.5,0.7-1.1,0.7-1.1S20.1,11.2,19.3,10.7z"/></svg>';let d="",l="",s="",c={},u=0,p=0;function m(){return new n(i,(function(){if(document.querySelector(".mdp-readabler-tts.stop"))return o(),void b();!function(){const e=document.querySelector(".mdp-readabler-tts .selection__icon"),t=document.createElement("div");t.innerHTML='<svg class="selection__icon" id="mdp-readabler-tts-preloader" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><rect x="3" y="7" rx="2" ry="2" width="4" height="10"><animate attributeName="y" calcMode="spline" values="7;9;7" keyTimes="0;0.5;1" dur=".6" keySplines="0 0.5 0.5 1;0 0.5 0.5 1" begin="0" repeatCount="indefinite"/><animate attributeName="height" calcMode="spline" values="10;6;10" keyTimes="0;0.5;1" dur=".6" keySplines="0 0.5 0.5 1;0 0.5 0.5 1" begin="0" repeatCount="indefinite"/></rect><rect x="8" y="2" rx="2" ry="2" width="4" height="20"><animate attributeName="y" calcMode="spline" values="2;4;2" keyTimes="0;0.5;1" dur=".5" keySplines="0 0.5 0.5 1;0 0.5 0.5 1" begin="0" repeatCount="indefinite"/><animate attributeName="height" calcMode="spline" values="20;16;20" keyTimes="0;0.5;1" dur=".5" keySplines="0 0.5 0.5 1;0 0.5 0.5 1" begin="0" repeatCount="indefinite"/></rect><rect x="13" y="4" rx="2" ry="2" width="4" height="16"><animate attributeName="y" calcMode="spline" values="4;7;4" keyTimes="0;0.5;1" dur=".7" keySplines="0 0.5 0.5 1;0 0.5 0.5 1" begin="0" repeatCount="indefinite"/><animate attributeName="height" calcMode="spline" values="16;10;16" keyTimes="0;0.5;1" dur=".7" keySplines="0 0.5 0.5 1;0 0.5 0.5 1" begin="0" repeatCount="indefinite"/></rect><rect x="18" y="8" rx="2" ry="2" width="4" height="8"><animate attributeName="y" calcMode="spline" values="8;10;8" keyTimes="0;0.5;1" dur=".8" keySplines="0 0.5 0.5 1;0 0.5 0.5 1" begin="0" repeatCount="indefinite"/><animate attributeName="height" calcMode="spline" values="8;4;8" keyTimes="0;0.5;1" dur=".8" keySplines="0 0.5 0.5 1;0 0.5 0.5 1" begin="0" repeatCount="indefinite"/></rect></svg>',e.parentNode.replaceChild(t,e);const n=document.querySelector(".mdp-readabler-tts");n.classList.remove("stop"),n.classList.add("loading")}();let t=new XMLHttpRequest,n=window.mdpReadablerOptions;t.open("POST",n.textToSpeechAjaxUrl,!0),t.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),t.onload=function(){if(this.status>=200&&this.status<400){if(!a.x.AudioContext)return void console.warn("Error with creating AudioContext.");a.x.mdp_readabler_context.decodeAudioData(this.response,(function(t){const n=a.x.mdp_readabler_context.createBufferSource();n.buffer=t,o(),e=n,n.connect(a.x.mdp_readabler_context.destination),n.onended=b,n.start(0),function(){const e=document.querySelector(".mdp-readabler-tts .selection__icon"),t=document.createElement("div");t.innerHTML='<svg class="selection__icon" xmlns="http://www.w3.org/2000/svg" width="24" height="24"><path d="M18.001 4.2H6A1.8 1.8 0 0 0 4.2 5.999V18A1.8 1.8 0 0 0 5.999 19.8H18a1.8 1.8 0 0 0 1.799-1.799V6c0-.992-.807-1.799-1.799-1.799z"/></svg>',e.parentNode.replaceChild(t,e);const n=document.querySelector(".mdp-readabler-tts");n.classList.remove("loading"),n.classList.add("stop")}()}),(function(e){console.warn("Error with decoding audio data"+e.err)}))}else console.error(this.response)},t.onerror=function(){console.error("Connection error.")},t.responseType="arraybuffer",t.send("action=readablergspeak&nonce="+n.textToSpeechNonce+"&text="+encodeURIComponent(s))}))}function b(){document.querySelector(".mdp-readabler-tts.stop")&&document.querySelector(".mdp-readabler-tts").remove()}function g(){const e=d.getRangeAt(0).getBoundingClientRect(),n=window.pageXOffset||document.documentElement.scrollTop||document.body.scrollTop;p=e.left+(e.width-52*c.length)/2,u=t?e.bottom+n+10:e.top+n-52-10}function h(){if(document.querySelector(".mdp-readabler-tts")){g();let e=document.querySelector(".mdp-readabler-tts");e.style.top=u+"px",e.style.left=p+"px"}}function y(){c=function(){const e=[{feature:"gspeak",call:m()}],t=document.createElement("div");let n=0;return e.forEach((function(e){r[e.feature]&&(t.appendChild(e.call),n++)})),{icons:t,length:n}}(),g();const e=document.createElement("div");
1e.className="mdp-readabler-tts",e.style="top:"+u+"px;left:"+p+"px;",e.appendChild(c.icons);const n=document.createElement("div");n.classList.add("mdp-readabler-tts-arrow"),t&&n.classList.add("mdp-readabler-tts-arrow-mobile"),n.style="left:"+(52*c.length/2-8)+"px;",r.disable||e.appendChild(n),document.body.appendChild(e)}return{config:function(e){return r.gspeak=void 0===e.gspeak?r.gspeak:e.gspeak,r.disable=void 0===e.disable?r.disable:e.disable,this},init:function(){return function(){function e(){return null!==a.x.readabler&&!!window.getSelection().toString()}function n(){let e;if(document.selection&&document.selection.createRange)return e=document.selection.createRange(),e.htmlText;if(window.getSelection){const t=window.getSelection();if(t.rangeCount>0){e=t.getRangeAt(0);const n=e.cloneContents(),a=document.createElement("div");return a.appendChild(n),a.innerHTML}return""}return""}function o(){let e;if(t)return window.getSelection?e=window.getSelection():document.getSelection?e=document.getSelection():document.selection&&(e=document.selection.createRange().text),e;if(window.getSelection&&(e=window.getSelection()).modify){if(e=window.getSelection(),!e.isCollapsed){const t=document.createRange();t.setStart(e.anchorNode,e.anchorOffset),t.setEnd(e.focusNode,e.focusOffset);const n=t.collapsed;t.detach();const a=e.focusNode,o=e.focusOffset;let r;e.collapse(e.anchorNode,e.anchorOffset),r=n?["backward","forward"]:["forward","backward"],e.modify("move",r[0],"character"),e.modify("move",r[1],"word"),e.extend(a,o),e.modify("extend",r[1],"character"),e.modify("extend",r[0],"word")}}else if((e=document.selection)&&"Control"!==e.type){const t=e.createRange();if(t.text){for(t.expand("word");/\s$/.test(t.text);)t.moveEnd("character",-1);t.select()}}return e}const r=function(){setTimeout((function(){document.querySelector(".mdp-readabler-tts")?e()?(d=o(),l=n(),s=l,h(),(document.querySelector(".mdp-readabler-tts.stop")||document.querySelector(".mdp-readabler-tts.loading"))&&function(){const e=document.querySelector(".mdp-readabler-tts .selection__icon"),t=document.createElement("div");t.innerHTML=i,e.parentNode.replaceChild(t,e);const n=document.querySelector(".mdp-readabler-tts");n.classList.remove("stop"),n.classList.remove("loading")}()):t||document.querySelector(".mdp-readabler-tts.stop")||document.querySelector(".mdp-readabler-tts.loading")||document.querySelector(".mdp-readabler-tts").remove():e()&&(d=o(),l=n(),s=l,y())}),10)};window.addEventListener("mouseup",r,!0),window.addEventListener("touchend",r,!1),window.addEventListener("touchcancel",r,!1),window.addEventListener("selectionchange",r,!1),window.addEventListener("resize",h,!1),window.addEventListener("touchstart",(function e(){t=!0,document.addEventListener("selectionchange",r,!0),window.removeEventListener("touchstart",e,!1)}))}(),this}}}}()},740:(e,t,n)=>{n.d(t,{j:()=>a});const a={fontSizingStyle:document.createElement("style"),init:function(){document.querySelector("#mdp-readabler-action-font-sizing .mdp-readabler-value").addEventListener("ReadablerInputSpinnerChanged",this.fontSizing)},fontScaling:function(e,t){const n="object"==typeof avadaHeaderVars||"object"==typeof avadaSelectVars;for(let a of e)if(document.getElementsByTagName(a).length>0)for(let e of document.getElementsByTagName(a)){if(n&&(setTimeout((function(){let t=e.getAttribute("style");t&&t.includes("--fontSize")&&(t=t.replace("--fontSize:","--fusionFontSize:"),e.setAttribute("style",t)),e.classList.contains("fusion-responsive-typography-calculated")&&e.classList.remove("fusion-responsive-typography-calculated")}),0),"INPUT"!==e.tagName&&"BUTTON"!==e.tagName&&(null!==e.parentElement.getAttribute("original-size")||null!==e.parentElement.parentElement.getAttribute("original-size"))))continue;let a=window.getComputedStyle(e).fontSize.split("px",1)[0];null===e.getAttribute("original-size")?e.setAttribute("original-size",a):a=e.getAttribute("original-size"),e.style.fontSize=parseInt(a)+a*(.01*t)+"px"}},fontSizing:function(e){let t=parseInt(e.target.dataset.value);0!==t?(document.body.classList.add("mdp-readabler-font-sizing"),a.fontScaling(["h1","h2","h3","h4","h5","h6","p","span","p","a","li","label","input","select","textarea","legend","code","pre","dd","dt","span","blockquote"],t)):document.body.classList.remove("mdp-readabler-font-sizing")}}},21:(e,t,n)=>{n.d(t,{C:()=>a});const a={letterSpacingStyle:document.createElement("style"),init:function(){document.querySelector("#mdp-readabler-action-letter-spacing .mdp-readabler-value").addEventListener("ReadablerInputSpinnerChanged",this.letterSpacing)},letterSpacing:function(e){let t=parseInt(e.target.dataset.value);if(0===t)return void document.body.classList.remove("mdp-readabler-letter-spacing");document.body.classList.add("mdp-readabler-letter-spacing");let n=t/100;a.letterSpacingStyle.innerHTML=`\n                /*noinspection CssUnusedSymbol*/\n                body.mdp-readabler-letter-spacing,\n                body.mdp-readabler-letter-spacing h1,\n                body.mdp-readabler-letter-spacing h1 span,\n                body.mdp-readabler-letter-spacing h2,\n                body.mdp-readabler-letter-spacing h2 span,\n                body.mdp-readabler-letter-spacing h3,\n                body.mdp-readabler-letter-spacing h3 span,\n                body.mdp-readabler-letter-spacing h4,\n                body.mdp-readabler-letter-spacing h4 span,\n                body.mdp-readabler-letter-spacing h5,\n                body.mdp-readabler-letter-spacing h5 span,\n                body.mdp-readabler-letter-spacing h6,\n                body.mdp-readabler-letter-spacing h6 span,\n                \n                body.mdp-readabler-letter-spacing p,\n                body.mdp-readabler-letter-spacing li,\n                body.mdp-readabler-letter-spacing label,\n                body.mdp-readabler-letter-spacing input,\n                body.mdp-readabler-letter-spacing select,\n                body.mdp-readabler-letter-spacing textarea,\n                body.mdp-readabler-letter-spacing legend,\n                body.mdp-readabler-letter-spacing code,\n                body.mdp-readabler-letter-spacing pre,\n                body.mdp-readabler-letter-spacing dd,\n                body.mdp-readabler-letter-spacing dt,\n                body.mdp-readabler-letter-spacing span,\n                body.mdp-readabler-letter-spacing blockquote {\n                    letter-spacing: ${n}px !important;    \n                }\n            `,document.head.appendChild(a.letterSpacingStyle)}}},361:(e,t,n)=>{n.d(t,{L:()=>a});const a={lineHeightStyle:document.createElement("style"),init:function(){document.querySelector("#mdp-readabler-action-line-height .mdp-readabler-value").addEventListener("ReadablerInputSpinnerChanged",this.lineHeight)},fontLeading:function(e,t){for(let n of e)if(document.getElementsByTagName(n).length>0)for(let e of document.getElementsByTagName(n)){let n=window.getComputedStyle(e).lineHeight.split("px",1)[0];null===e.getAttribute("original-leading")?e.setAttribute("original-leading",n):n=e.getAttribute("original-leading"),e.style.lineHeight=parseInt(n)+n*(.01*t)+"px"}},lineHeight:function(e){let t=parseInt(e.target.dataset.value);0!==t?(document.body.classList.add("mdp-readabler-line-height"),a.fontLeading(["h1","h2","h3","h4","h5","h6","p","span","p","a","li","label","input","select","textarea","legend","code","pre","dd","dt","span","blockquote"],t)):document.body.classList.remove("mdp-readabler-line-height")}}},518:(e,t,n)=>{n.d(t,{E:()=>o});var a=n(874);const o={init:function(){let e=document.querySelectorAll(".mdp-readabler-input-spinner-box .mdp-readabler-plus");
1e.forEach(e=>e.addEventListener("click",e=>o.step(e)));let t,n=document.querySelectorAll(".mdp-readabler-input-spinner-box .mdp-readabler-minus");n.forEach(e=>e.addEventListener("click",e=>o.step(e))),e.forEach(e=>e.addEventListener("mousedown",e=>{t=setInterval((function(){o.step(e)}),500)})),e.forEach(e=>e.addEventListener("mouseup",()=>{clearInterval(t)})),e.forEach(e=>e.addEventListener("mouseleave",()=>{clearInterval(t)})),n.forEach(e=>e.addEventListener("mousedown",e=>{t=setInterval((function(){o.step(e)}),500)})),n.forEach(e=>e.addEventListener("mouseup",()=>{clearInterval(t)})),n.forEach(e=>e.addEventListener("mouseleave",()=>{clearInterval(t)}))},step:function(e){let t=e.target.closest(".mdp-readabler-control").querySelector(".mdp-readabler-value"),n=parseInt(t.dataset.value),r=parseInt(e.target.closest(".mdp-readabler-input-spinner-box").dataset.step);e.target.classList.contains("mdp-readabler-minus")?n-=r:n+=r,t.dataset.value=n.toString(),o.setLabel(t,n),(0,a.c)(e.target.closest(".mdp-readabler-action-box").id,t.dataset.value);const i=new CustomEvent("ReadablerInputSpinnerChanged",{});t.dispatchEvent(i)},setLabel:function(e,t){t=parseInt(t);let n=window.mdpReadablerOptions;if(0===t)e.innerHTML=n.DEFAULT;else{let n=t>0?"+":"";e.innerHTML=n+t+"%"}},loadSaved:function(){document.querySelectorAll(".mdp-readabler-spinner-box").forEach(e=>{let t=(0,a.t)(e.id);if(!t)return;if(t=parseInt(t),0===t)return;let n=e.querySelector(".mdp-readabler-value");n.dataset.value=t.toString(),o.setLabel(n,t);const r=new CustomEvent("ReadablerInputSpinnerChanged",{});n.dispatchEvent(r)})}}},874:(e,t,n)=>{function a(e){try{return localStorage.getItem("mdpReadabler"+e)}catch(e){return null}}function o(e,t){try{return localStorage.setItem("mdpReadabler"+e,t)}catch(e){return!1}}n.d(t,{c:()=>o,t:()=>a})},591:(e,t,n)=>{n.d(t,{Y:()=>o});var a=n(874);const o={init:function(){let e=document.querySelectorAll(".mdp-readabler-palette-box");e.forEach(e=>e.addEventListener("click",e=>o.selectColor(e))),e.forEach(e=>e.addEventListener("keydown",e=>o.selectColor(e)))},selectColor:function(e){if("keydown"===e.type&&13!==e.keyCode)return;if(!e.target.classList.contains("mdp-readabler-color"))return;let t=e.target.closest(".mdp-readabler-palette-box");if(e.target.classList.contains("mdp-active"))e.target.classList.remove("mdp-active"),o.firePaletteChange(t,null),(0,a.c)(e.target.closest(".mdp-readabler-palette-box").id,null);else{let n=t.querySelector(".mdp-readabler-color.mdp-active");null!==n&&n.classList.remove("mdp-active"),e.target.classList.add("mdp-active"),o.firePaletteChange(t,e.target.dataset.color),(0,a.c)(e.target.closest(".mdp-readabler-palette-box").id,e.target.dataset.color)}},loadSaved:function(){document.querySelectorAll(".mdp-readabler-palette-box").forEach(e=>{let t=(0,a.t)(e.id);null!==t&&e.querySelectorAll(".mdp-readabler-color").forEach(e=>{e.dataset.color===t&&e.click()})})},firePaletteChange:function(e,t){const n=new CustomEvent("ReadablerPaletteChanged",{detail:{color:t}});e.dispatchEvent(n)}}},229:(e,t,n)=>{var a=n(700),o=n(403),r=n(443),i=n(47),d=n(249),l=n(726),s=n(319),c=n(902),u=n(874),p=n(710),m=n(223),b=n(518),g=n(591),h=n(740),y=n(361),f=n(21);
2/**
3 * Readabler
4 * Web accessibility for Your WordPress site.
5 * Exclusively on https://1.envato.market/readabler
6 *
7 * @encoding        UTF-8
8 * @version         1.5.0
9 * @copyright       (C) 2018 - 2023 Merkulove ( https://merkulov.design/ ). All rights reserved.
10 * @license         Envato License https://1.envato.market/KYbje
11 * @contributors    Nemirovskiy Vitaliy ([email protected]), Dmitry Merkulov ([email protected])
12 * @support         [email protected]
13 * @license         Envato License https://1.envato.market/KYbje
14 **/let v=function(){let e,t={popup:document.getElementById("mdp-readabler-popup"),init:function(){"1"===e.popupDraggable&&(t.draggablePopup(),t.setPopupPosition()),document.getElementById("mdp-readabler-popup-close").addEventListener("click",t.closePopupCross),document.addEventListener("click",t.togglePopup),window.addEventListener("resize",e=>{Q(t.setPopupPosition(e),300)})},setPopupPosition:function(e){let n=(0,u.t)("popupTop"),a=(0,u.t)("popupLeft");null!==n&&null!==a&&t.applyPopupPosition(n,a,e)},applyPopupPosition:function(e,n,a){e=this.topInBound(e),n=this.leftInBound(n),t.popup.style.top=e+"px",t.popup.style.left=n+"px",t.popup.style.transition=void 0!==a?"top 0.3s ease, left 0.3s ease":"none",(0,u.c)("popupTop",e),(0,u.c)("popupLeft",n),this.popup.removeAttribute("data-start")},topInBound:function(e){let t=Math.max(document.documentElement.clientHeight||0,window.innerHeight||0);return e<0&&(e=0),e>t-this.popup.offsetHeight&&(e=t-this.popup.offsetHeight),e},leftInBound:function(e){let n=Math.max(document.documentElement.clientWidth||0,window.innerWidth||0);return e<0&&(e=0),e>n-this.popup.offsetWidth&&(e=n-t.popup.offsetWidth),e},closePopupCross:function(e){e.preventDefault(),MicroModal.close("mdp-readabler-popup-box"),t.releaseTriggerButtons()},closePopupOverlay:function(e){const n=e.composedPath||e.composedPath();let a=!1;if("object"==typeof n&&n.length>0){for(const e of n)if("mdp-readabler-popup"===e.id){a=!0;break}a||(MicroModal.close("mdp-readabler-popup-box"),t.releaseTriggerButtons(),document.removeEventListener("click",t.closePopupOverlay))}},togglePopup:function(n){if(void 0!==n){let e=n.target,t=null;if(!e)return;if(t=null!==e.closest("[data-readabler-trigger]")?e.closest("[data-readabler-trigger]"):e.closest(".readabler-trigger"),null===t)return;n.preventDefault()}let a=document.getElementById("mdp-readabler-popup-box");a.classList.contains("mdp-is-open")?(MicroModal.close("mdp-readabler-popup-box"),t.releaseTriggerButtons()):(MicroModal.show("mdp-readabler-popup-box",{onClose:()=>{t.onClosePopup()},openClass:"mdp-is-open",disableScroll:!e.popupScroll,disableFocus:!1}),t.holdTriggerButtons(),t.setPopupPosition(),"1"===e.closeAnywhere&&document.addEventListener("click",t.closePopupOverlay),function(e){e.querySelectorAll(".select2").forEach(e
14=>e.remove()),e.querySelectorAll(".select2-hidden-accessible").forEach(e=>{e.classList.remove("select2-hidden-accessible"),e.removeAttribute("tabindex")})}(a))},holdTriggerButtons:function(){document.querySelectorAll("[data-readabler-trigger]").forEach(e=>{e.classList.add("mdp-opened")})},releaseTriggerButtons:function(){document.querySelectorAll("[data-readabler-trigger]").forEach(e=>{e.classList.remove("mdp-opened")});let e=document.getElementById("mdp-readabler-accessibility-statement-box");null!==e&&e.classList.contains("mdp-open")&&e.classList.remove("mdp-open")},onClosePopup:function(){t.releaseTriggerButtons()},draggablePopup:function(){let e=document.getElementById("mdp-readabler-popup-header"),n=0,a=0,o=0,r=0;function i(e){(e=e||window.event).preventDefault(),n=o-e.clientX,a=r-e.clientY,o=e.clientX,r=e.clientY;let i=t.popup.offsetTop-a,d=t.popup.offsetLeft-n;t.applyPopupPosition(i,d),(0,u.c)("popupTop",i.toString()),(0,u.c)("popupLeft",d.toString())}function d(){document.removeEventListener("mousemove",i),document.removeEventListener("mouseup",d)}e.onmousedown=function(e){(function(e){return"buttons"in e?1===e.buttons:1===(e.which||e.button)})(e=e||window.event)&&(e.preventDefault(),o=e.clientX,r=e.clientY,document.addEventListener("mousemove",i),document.addEventListener("mouseup",d))}}},n={init:function(){n.OpenInterface(),n.focusElements(e.hotKeyMenu,'nav, [role="navigation"]'),n.focusElements(e.hotKeyHeadings,'h1, h2, h3, h4, h5, h6, [role="heading"]'),n.focusElements(e.hotKeyForms,"form:not([disabled])"),n.focusElements(e.hotKeyButtons,'button:not([disabled]), [role="button"]:not([disabled])'),n.focusElements(e.hotKeyGraphics,"img, picture, svg"),document.body.onkeydown=function(e){32===(e.keyCode||e.charCode||e.which)&&n.spacePressed(e)}},spacePressed:function(e){let t=document.activeElement;(t.classList.contains("mdp-readabler-accessibility-profile-item")||t.classList.contains("mdp-readabler-toggle-box")||t.classList.contains("mdp-readabler-color"))&&(e.preventDefault(),t.click())},OpenInterface:function(){hotkeys(e.hotKeyOpenInterface,(function(e){e.preventDefault(),t.togglePopup()}))},focusElements:function(e,t){hotkeys(e+",shift+"+e,(function(e,n){if(!document.body.classList.contains("mdp-readabler-keyboard-navigation"))return;e.preventDefault();let a=!0;n.key.startsWith("shift+")&&(a=!1),F.setFocus(t,a)}))}},v={clearResultsBtn:document.querySelector("#mdp-readabler-online-dictionary-search-close"),searchInput:document.getElementById("mdp-readabler-online-dictionary-search"),searchResultsUL:document.getElementById("mdp-readabler-online-dictionary-search-results"),init:function(){this.searchInput.addEventListener("input",e=>{Q(this.searchQuery(e),800)}),this.clearResultsBtn.addEventListener("click",this.clearSearchResults)},getLang:function(){if("auto"===e.language){const e=document.querySelector("html");return e.getAttribute("lang")?e.getAttribute("lang").split("-",1)[0]:"en"}return e.language},searchQuery:function(e){let t=e.target.value;if(0===t.trim().length)return;if(t.trim().length<3)return void(this.searchResultsUL.innerHTML="");let n=encodeURI(t),a=`https://${this.getLang()}.wikipedia.org/w/api.php?action=query&format=json&utf8=&explaintext=&exlimit=3&generator=prefixsearch&prop=pageprops|extracts|extracts|description&redirects=&gpssearch=${n}&gpslimit=3&origin=*`;fetch(a).then(e=>e.json()).then(e=>{this.searchResultsUL.innerHTML="";for(let t in e.query.pages)e.query.pages.hasOwnProperty(t)&&this.addResultToList(e.query.pages[t]);this.clearResultsBtn.style.display="block"}).catch(e=>{})},addResultToList:function(t){const n=void 0!==t.description?t.description:"";let a=document.createElement("li");a.innerHTML=`\n                    <h5 class="mdp-readabler-online-dictionary-title">${t.title}</h5>\n                    <p class="mdp-readabler-online-dictionary-text">${n}</p>\n                    <a target="_blank" rel="nofollow" class="mdp-readabler-online-dictionary-link" href="https://${this.getLang()}.wikipedia.org/wiki/${t.title}">${e.LEARN_MORE_IN_WIKIPEDIA}</a>\n                    `,this.searchResultsUL.appendChild(a)},clearSearchResults:function(){v.searchInput.setAttribute("value",""),v.searchResultsUL.innerHTML="",v.clearResultsBtn.style.display="none"}},L={profiles:document.querySelectorAll("#mdp-readabler-accessibility-profiles-box .mdp-readabler-accessibility-profile-item"),init:function(){L.isProfiles&&(this.profiles.forEac
14h(e=>e.addEventListener("click",Q(this.toggleProfile,100))),this.profiles.forEach(e=>e.addEventListener("keydown",Q(this.toggleProfile,100))))},toggleProfile:function(e){if("keydown"===e.type&&13!==e.keyCode)return;let t=this.closest(".mdp-readabler-accessibility-profile-item"),n=t.querySelector('input[type="checkbox"]');if(t.classList.contains("mdp-active")){t.classList.remove("mdp-active"),n.checked=!1,(0,u.c)(t.id,"0");let e=t.id.replace("mdp-readabler-accessibility-profile-","");e=K(e,"-"),e=e.replace("-",""),e="profile"+e,L[e](!1)}else{let e=document.querySelector("#mdp-readabler-accessibility-profiles-box .mdp-readabler-accessibility-profile-item.mdp-active");e&&e.click(),t.classList.add("mdp-active"),n.checked=!0,(0,u.c)(t.id,"1");let a=t.id.replace("mdp-readabler-accessibility-profile-","");a=K(a,"-"),a=a.replace("-",""),a="profile"+a,L[a](!0)}},loadSaved:function(){L.profiles.forEach(e=>{"1"===(0,u.t)(e.id)&&(e.querySelector('input[type="checkbox"]').checked=!0,e.click())})},profileEpilepsy:function(e){let t="mdp-readabler-profile-epilepsy";if(e){document.body.classList.add(t);let e=document.querySelector("#mdp-readabler-action-low-saturation:not(.mdp-active)");e&&e.click();let n=document.querySelector("#mdp-readabler-action-stop-animations:not(.mdp-active)");n&&n.click()}else{document.body.classList.remove(t);let e=document.querySelector("#mdp-readabler-action-low-saturation.mdp-active");e&&e.click();let n=document.querySelector("#mdp-readabler-action-stop-animations.mdp-active");n&&n.click()}},profileVisuallyImpaired:function(e){let t="mdp-readabler-profile-visually-impaired";if(e){document.body.classList.add(t);let e=document.querySelector("#mdp-readabler-action-readable-font:not(.mdp-active)");e&&e.click();let n=document.querySelector("#mdp-readabler-action-high-saturation:not(.mdp-active)");n&&n.click()}else{document.body.classList.remove(t);let e=document.querySelector("#mdp-readabler-action-readable-font.mdp-active");e&&e.click();let n=document.querySelector("#mdp-readabler-action-high-saturation.mdp-active");n&&n.click()}},profileCognitiveDisability:function(e){let t="mdp-readabler-profile-cognitive-disability";if(e){document.body.classList.add(t);let e=document.querySelector("#mdp-readabler-action-highlight-titles:not(.mdp-active)");e&&e.click();let n=document.querySelector("#mdp-readabler-action-highlight-links:not(.mdp-active)");n&&n.click();let a=document.querySelector("#mdp-readabler-action-stop-animations:not(.mdp-active)");a&&a.click()}else{document.body.classList.remove(t);let e=document.querySelector("#mdp-readabler-action-highlight-titles.mdp-active");e&&e.click();let n=document.querySelector("#mdp-readabler-action-highlight-links.mdp-active");n&&n.click();let a=document.querySelector("#mdp-readabler-action-stop-animations.mdp-active");a&&a.click()}},profileAdhdFriendly:function(e){let t="mdp-readabler-profile-adhd-friendly";if(e){document.body.classList.add(t);let e=document.querySelector("#mdp-readabler-action-high-saturation:not(.mdp-active)");e&&e.click();let n=document.querySelector("#mdp-readabler-action-stop-animations:not(.mdp-active)");n&&n.click();let a=document.querySelector("#mdp-readabler-action-reading-mask:not(.mdp-active)");a&&a.click()}else{document.body.classList.remove(t);let e=document.querySelector("#mdp-readabler-action-high-saturation.mdp-active");e&&e.click();let n=document.querySelector("#mdp-readabler-action-stop-animations.mdp-active");n&&n.click();let a=document.querySelector("#mdp-readabler-action-reading-mask.mdp-active");a&&a.click()}},profileBlindUsers:function(e){let t="mdp-readabler-profile-blind-users";if(e){document.body.classList.add(t);let e=document.querySelector("#mdp-readabler-action-readable-font:not(.mdp-active)");e&&e.click();let n=document.querySelector("#mdp-readabler-action-virtual-keyboard:not(.mdp-active)");n&&n.click();let a=document.querySelector("#mdp-readabler-action-text-to-speech:not(.mdp-active)");a&&a.click();let o=document.querySelector("#mdp-readabler-action-keyboard-navigation:not(.mdp-active)");o&&o.click()}else{document.body.classList.remove(t);let e=document.querySelector("#mdp-readabler-action-readable-font.mdp-active");e&&e.click();let n=document.querySelector("#mdp-readabler-action-virtual-keyboard.mdp-active");n&&n.click();let a=document.querySelector("#mdp-readabler-action-text-to-speech.mdp-active");a&&a.click();let o=document.querySelector("#mdp-readabler-action-keyboard-navigation.mdp-active");o&&o.click()}},isProfiles:function(){return!!(e.profileEpilepsy||e.profileVisuallyImpaired||e.profileCognitiveDisability||e.profileAdhdFriendly||e.profileBlindUsers)}},x={init:function(){document.querySelector("#mdp-readabler-action-content-scaling .mdp-readabler-value").addEventListener("ReadablerInputSpinnerChanged",this.scaleContent)},scaleContent:function(e){let t=parseInt(e.target.dataset.value);navigator.userAgent.toLowerCase().indexOf("firefox")>0?x.setFirefoxProperty(t,"body","-moz-transform",""):x.setElementProperty(t,"body > *","zoom","")},setFirefoxProperty:function(e,t,n,a){let o=K(n,"-").replace("-","");o="readabler"+o;let r=document.querySelector(t),i=parseFloat(r.dataset[o]);if(!i||isNaN(i)){let e=window.getComputedStyle(r,null).getPropertyValue(n);i="none"===e?1:parseFloat(e.split("(")[1].split(")")[0]),r.dataset[o]=i.toString()}0===i&&(i=1);let d=(i+Math.abs(i/100)*e).toFixed(2);1===parseFloat(d)?(r.style.setProperty(n,"none","important"),r.style.removeProperty("-moz-transform-origin")):(r.style.setProperty(n,`scale(${d.toString()})`,"important"),r.style.setProperty("-moz-transform-origin","top left","important"))},setElementProperty:function(e,t,n,a){let o=K(n,"-").replace("-","");o="readabler"+o,document.querySelectorAll(t).forEach(t=>{let r=parseFloat(t.dataset[o]);if(!r){let e=window.getComputedStyle(t,null).getPropertyValue(n);r=parseFloat(e),"normal"===e&&(r=0),t.dataset[o]=r.toString()}0===r&&(r=1);let i=(r+Math.abs(r/100)*e).toFixed(2);t.style.setProperty(n,i.toString()+a,"important")})}},S={readableFontStyle:document.createElement("style"),init:function(){document.querySelector("#mdp-readabler-action-readable-font").addEventListener("ReadablerToggleBoxChanged",S.readableFont)},readableFont:function(e){e.target.classList.contains("mdp-active")?(S.disableOthers(),document.body.classList.add("mdp-readabler-readable-font"),S.readableFontStyle.innerHTML="\n                /*noinspection CssUnusedSymbol*/\n                body.mdp-readabler-readable-font *:not(i){\n                    font-family: Arial, Helvetica, sans-serif !important;\n                }\n            ",document.head.appendChild(S.readableFontStyle)):document.body.classList.remove("mdp-readabler-readable-font")},disableOthers:function(){let e=document.getElementById("mdp-readabler-action-dyslexia-font");e&&e.classList.contains("mdp-active")&&e.click()}},k={dyslexiaFriendlyStyle:document.createElement("style"),init:function(){document.querySelector("#mdp-readabler-action-dyslexia-font").addEventListener("ReadablerToggleBoxChanged",k.dyslexiaFriendly)},dyslexiaFriendly:function(t){t.target.classList.contains("mdp-active")?(k.disableOthers(),document.body.classList.add("mdp-readabler-dyslexia-font"),k.dyslexiaFriendlyStyle.innerHTML=`\n                /*noinspection CssUnknownTarget*/\n                @font-face {\n                    font-family: 'OpenDyslexic';\n                    src: url("${e.pluginURL}
14fonts/OpenDyslexic-Italic.eot");\n                    src: local("OpenDyslexic Italic"), local("OpenDyslexic-Italic"), \n                         url("${e.pluginURL}fonts/OpenDyslexic-Italic.eot?#iefix") format("embedded-opentype"), \n                         url("${e.pluginURL}fonts/OpenDyslexic-Italic.woff2") format("woff2"), \n                         url("${e.pluginURL}fonts/OpenDyslexic-Italic.woff") format("woff");\n                    font-weight: normal;\n                    font-style: italic;\n                    font-display: swap; \n                }\n\n                /*noinspection CssUnknownTarget*/\n                @font-face {\n                    font-family: 'OpenDyslexic';\n                    src: url("${e.pluginURL}fonts/OpenDyslexic-Bold-Italic.eot");\n                    src: local("OpenDyslexic Bold Italic"), local("OpenDyslexic-Bold-Italic"), \n                         url("${e.pluginURL}fonts/OpenDyslexic-Bold-Italic.eot?#iefix") format("embedded-opentype"), \n                         url("${e.pluginURL}fonts/OpenDyslexic-Bold-Italic.woff2") format("woff2"), \n                         url("${e.pluginURL}fonts/OpenDyslexic-Bold-Italic.woff") format("woff");\n                    font-weight: bold;\n                    font-style: italic;\n                    font-display: swap; \n                }\n\n                /*noinspection CssUnknownTarget*/\n                @font-face {\n                    font-family: 'OpenDyslexic';\n                    src: url("${e.pluginURL}fonts/OpenDyslexic-Bold.eot");\n                    src: local("OpenDyslexic Bold"), local("OpenDyslexic-Bold"), \n                         url("${e.pluginURL}fonts/OpenDyslexic-Bold.eot?#iefix") format("embedded-opentype"), \n                         url("${e.pluginURL}fonts/OpenDyslexic-Bold.woff2") format("woff2"), \n                         url("${e.pluginURL}fonts/OpenDyslexic-Bold.woff") format("woff");\n                    font-weight: bold;\n                    font-style: normal;\n                    font-display: swap; \n                }\n\n                /*noinspection CssUnknownTarget*/\n                @font-face {\n                    font-family: 'OpenDyslexic';\n                    src: url("${e.pluginURL}fonts/OpenDyslexic-Regular.eot");\n                    src: local("OpenDyslexic Regular"), local("OpenDyslexic-Regular"), \n                         url("${e.pluginURL}fonts/OpenDyslexic-Regular.eot?#iefix") format("embedded-opentype"), \n                         url("${e.pluginURL}fonts/OpenDyslexic-Regular.woff2") format("woff2"), \n                         url("${e.pluginURL}fonts/OpenDyslexic-Regular.woff") format("woff");\n                    font-weight: normal;\n                    font-style: normal;\n                    font-display: swap; \n                }\n                    \n                /*noinspection CssUnusedSymbol*/\n                body.mdp-readabler-dyslexia-font,\n                body.mdp-readabler-dyslexia-font h1,\n                body.mdp-readabler-dyslexia-font h1 span,\n                body.mdp-readabler-dyslexia-font h2,\n                body.mdp-readabler-dyslexia-font h2 span,\n                body.mdp-readabler-dyslexia-font h3,\n                body.mdp-readabler-dyslexia-font h3 span,\n                body.mdp-readabler-dyslexia-font h4,\n                body.mdp-readabler-dyslexia-font h4 span,\n                body.mdp-readabler-dyslexia-font h5,\n                body.mdp-readabler-dyslexia-font h5 span,\n                body.mdp-readabler-dyslexia-font h6,\n                body.mdp-readabler-dyslexia-font h6 span,\n\n                body.mdp-readabler-dyslexia-font a,\n                body.mdp-readabler-dyslexia-font p,\n                body.mdp-readabler-dyslexia-font li a,\n                body.mdp-readabler-dyslexia-font label,\n                body.mdp-readabler-dyslexia-font input,\n                body.mdp-readabler-dyslexia-font select,\n                body.mdp-readabler-dyslexia-font textarea,\n                body.mdp-readabler-dyslexia-font legend,\n                body.mdp-readabler-dyslexia-font code,\n                body.mdp-readabler-dyslexia-font pre,\n                body.mdp-readabler-dyslexia-font dd,\n                body.mdp-readabler-dyslexia-font dt,\n                body.mdp-readabler-dyslexia-font span,\n                body.mdp-readabler-dyslexia-font blockquote {\n                    font-family: 'OpenDyslexic', serif !important;\n                }\n            `,document.head.appendChild(k.dyslexiaFriendlyStyle)):document.body.classList.remove("mdp-readabler-dyslexia-font")},disableOthers:function(){let e=document.getElementById("mdp-readabler-action-readable-font");e.classList.contains("mdp-active")&&e.click()}},w={highlightTitlesStyle:document.createElement("style"),init:function(){document.querySelector("#mdp-readabler-action-highlight-titles").addEventListener("ReadablerToggleBoxChanged",w.highlightTitles)},highlightTitles:function(t){t.target.classList.contains("mdp-active")?(document.body.classList.add("mdp-readabler-highlight-titles"),w.highlightTitlesStyle.innerHTML=`                    \n                body.mdp-readabler-highlight-titles h1, \n                body.mdp-readabler-highlight-titles h2, \n                body.mdp-readabler-highlight-titles h3, \n                body.mdp-readabler-highlight-titles h4, \n                body.mdp-readabler-highlight-titles h
145, \n                body.mdp-readabler-highlight-titles h6, \n                body.mdp-readabler-highlight-titles [role="heading"] {\n                    outline-style: ${e.highlightTitlesStyle} !important;\n                    outline-color: ${e.highlightTitlesColor} !important;\n                    outline-width: ${e.highlightTitlesWidth}px !important;\n                    outline-offset: ${e.highlightTitlesOffset}px !important;\n                }\n            `,document.head.appendChild(w.highlightTitlesStyle)):document.body.classList.remove("mdp-readabler-highlight-titles")}},E={highlightLinksStyle:document.createElement("style"),init:function(){document.querySelector("#mdp-readabler-action-highlight-links").addEventListener("ReadablerToggleBoxChanged",E.highlightLinks)},highlightLinks:function(t){t.target.classList.contains("mdp-active")?(document.body.classList.add("mdp-readabler-highlight-links"),E.highlightLinksStyle.innerHTML=`                    \n                body.mdp-readabler-highlight-links a {\n                    outline-style: ${e.highlightLinksStyle} !important;\n                    outline-color: ${e.highlightLinksColor} !important;\n                    outline-width: ${e.highlightLinksWidth}px !important;\n                    outline-offset: ${e.highlightLinksOffset}px !important;\n                }\n            `,document.head.appendChild(E.highlightLinksStyle)):document.body.classList.remove("mdp-readabler-highlight-links")}},C={tooltip:document.createElement("div"),textMagnifierStyle:document.createElement("style"),init:function(){document.querySelector("#mdp-readabler-action-text-magnifier").addEventListener("ReadablerToggleBoxChanged",C.textMagnifier),C.tooltip.id="mdp-readabler-text-magnifier-tooltip"},textMagnifier:function(t){if(!t.target.classList.contains("mdp-active"))return document.body.classList.remove("mdp-readabler-text-magnifier"),document.removeEventListener("mousemove",C.updateTooltip,!1),document.body.removeChild(C.tooltip),document.removeEventListener("mouseleave",C.hideTooltip,!1),void document.removeEventListener("mouseenter",C.showTooltip,!1);document.body.classList.add("mdp-readabler-text-magnifier"),document.body.appendChild(C.tooltip),document.addEventListener("mousemove",C.updateTooltip,!1),document.addEventListener("mouseleave",C.hideTooltip,!1),document.addEventListener("mouseenter",C.showTooltip,!1),C.textMagnifierStyle.innerHTML=`\n                /*noinspection CssUnusedSymbol*/                    \n                body.mdp-readabler-text-magnifier #mdp-readabler-text-magnifier-tooltip {\n                    background-color: ${e.textMagnifierBgColor} !important;\n                    color: ${e.textMagnifierColor} !important;\n                    font-size: ${e.textMagnifierFontSize}px !important;\n                }\n            `,document.head.appendChild(C.textMagnifierStyle)},updateTooltip:function(e){if(!["H1","H2","H3","H4","H5","H6","SPAN","P","LI","LABEL","INPUT","SELECT","TEXTAREA","LEGEND","CODE","PRE","DD","DT","A","STRONG","B","BLOCKQUOTE"].includes(e.target.nodeName))return void C.hideTooltip();if(""===e.target.innerText.trim())return void C.hideTooltip();C.showTooltip(),C.tooltip.innerHTML=e.target.innerText;let t=window.innerWidth;C.tooltip.style.top=e.clientY+15+"px",e.clientX>.5*window.innerWidth?(t=e.clientX-15<=680?e.clientX-15:680,C.tooltip.style.left="unset",C.tooltip.style.right=window.innerWidth-e.clientX-15+"px",C.tooltip.style.maxWidth=t+"px"):(t=window.innerWidth-e.clientX-45<680?window.innerWidth-e.clientX-45:680,C.tooltip.style.right="unset",C.tooltip.style.left=e.clientX+15+"px",C.tooltip.style.maxWidth=t+"px")},hideTooltip:function(){C.tooltip.style.visibility="hidden"},showTooltip:function(){C.tooltip.style.visibility="visible"}},T={alignCenterStyle:document.createElement("style"),init:function(){document.querySelector("#mdp-readabler-action-align-center").addEventListener("ReadablerToggleBoxChanged",T.alignCenter)},alignCenter:function(e){e.target.classList.contains("mdp-active")?(T.disableOthers(),document.body.classList.add("mdp-readabler-align-center"),T.alignCenterStyle.innerHTML="\n                /*noinspection CssUnusedSymbol*/\n                body.mdp-readabler-align-center,\n                body.mdp-readabler-align-center h1,\n                body.mdp-readabler-align-center h1 span,\n                body.mdp-readabler-align-center h2,\n                body.mdp-readabler-align-center h2 span,\n                body.mdp-readabler-align-center h3,\n                body.mdp-readabler-align-center h3 span,\n                body.mdp-readabler-align-center h4,\n                body.mdp-readabler-align-center h4 span,\n                body.mdp-readabler-align-center h5,\n                body.mdp-readabler-align-center h5 span,\n                body.mdp-readabler-align-center h6,\n                body.mdp-readabler-align-center h6 span,\n\n                body.mdp-readabler-align-center p,\n                body.mdp-readabler-align-center li,\n                body.mdp-readabler-align-center label,\n                body.mdp-readabler-align-center input,\n                body.mdp-readabler-align-center select,\n                body.mdp-readabler-align-center textarea,\n                body.mdp-readabler-align-center legend,\n                body.mdp-readabler-align-center code,\n                body.mdp-readabler-align-center pre,\n                body.mdp-readabler-align-center dd,\n                body.mdp-readabler-align-center dt,\n                body.mdp-readabler-align-center span,\n                body.mdp-readabler-align-center blockquote {\n                    text-align: center !important;\n                }\n            ",document.head.appendChild(T.alignCenterStyle)):document.body.classList.remove("mdp-readabler-align-center")},disableOthers:function(){let e=document.getElementById("mdp-readabler-action-align-left");null!==e&&e.classList.contains("mdp-active")&&e.click();let t=document.getElementById("mdp-readabler-action-align-right");null!==t&&t.classList.contains("mdp-active")&&t.click()}},R={alignLeftStyle:document.createElement("style"),init:function(){document.querySelector("#mdp-readabler-action-align-left").addEventListener("ReadablerToggleBoxChanged",R.alignLeft)},alignLeft:function(e){e.target.classList.contains("mdp-active")?(R.disableOthers(),document.body.classList.add("mdp-readabler-align-left"),R.alignLeftStyle.innerHTML="\n                /*noinspection CssUnusedSymbol*/\n                body.mdp-readabler-align-left,\n                body.mdp-readabler-align-left h1,\n                body.mdp-readabler-align-left h1 span,\n                body.mdp-readabler-align-left h2,\n                body.mdp-readabler-align-left h2 span,\n                body.mdp-readabler-align-left h3,\n                body.mdp-readabler-align-left h3 span,\n                body.mdp-readabler-align-left h4,\n                body.mdp-readabler-align-left h4 span,\n                body.mdp-readabler-align-left h5,\n                body.mdp-readabler-align-left h5 span,\n                body.mdp-readabler-align-left h6,\n                body.mdp-readabler-align-left h6 span,\n\n                body.mdp-readabler-align-left p,\n                body.mdp-readabler-align-left li,\n                body.mdp-readabler-align-left label,\n                body.mdp-readabler-align-left input,\n                body.mdp-readabler-align-left select,\n                body.mdp-readabler-align-left textarea,\n                body.mdp-readabler-align-left legend,\n                body.mdp-readabler-align-left code,\n                body.mdp-readabler-align-left pre,\n                body.mdp-readabler-align-left dd,\n                body.mdp-readabler-align-left dt,\n                body.mdp-readabler-align-left span,\n                body.mdp-readabler-align-left blockquote {\n                    text-align: left !important;\n                }\n            ",document.head.appendChild(R.alignLeftStyle)):document.body.classList.remove("mdp-readabler-align-left")},disableOthers:function(){let e=document.getElementById("mdp-readabler-action-align-center");null!==e&&e.classList.contains("mdp-active")&&e.click();let t=document.getElementById("mdp-readabler-action-align-right");null!==t&&t.classList.contains("mdp-active")&&t.click()}},q={alignRightStyle:document.createElement("style"),init:function(){document.querySelector("#mdp-readabler-action-align-right").addEventListener("ReadablerToggleBoxChanged",q.alignRight)},alignRight:function(e){e.target.classList.contains("mdp-active")?(q.disableOthers(),document.body.classList.add("mdp-readabler-align-right"),q.alignRightStyle.innerHTML="\n                /*noinspection CssUnusedSymbol*/\n                body.mdp-readabler-align-right,\n                body.mdp-readabler-align-right h1,\n                body.mdp-readabler-align-right h1 span,\n                body.mdp-readabler-align-right h2,\n                body.mdp-readabler-align-right h2 span,\n                body.mdp-readabler-align-right h3,\n                body.mdp-readabler-align-right h3 span,\n                body.mdp-readabler-align-right h4,\n                body.mdp-readabler-align-right h4 span,\n                body.mdp-readabler-align-right h5,\n                body.mdp-readabler-align-right h5 span,\n                body.mdp-readabler-align-right h6,\n                body.mdp-readabler-align-right h6 span,\n\n                body.mdp-readabler-align-right p,\n                body.mdp-readabler-align-right li,\n                body.mdp-readabler-align-right label,\n                body.mdp-readabler-align-right input,\n                body.mdp-readabler-align-right select,\n                body.mdp-readabler-align-right textarea,\n                body.mdp-readabler-align-right legend,\n                body.mdp-readabler-align-right code,\n                body.mdp-readabler-align-right pre,\n                body.mdp-readabler-align-right dd,\n                body.mdp-readabler-align-right dt,\n                body.mdp-readabler-align-right span,\n                body.mdp-readabler-align-right blockquote {\n                    text-align: right !important;\n                }\n            ",document.head.appendChild(q.alignRightStyle)):document.body.classList.remove("mdp-readabler-align-right")},disableOthers:function(){let e=document.getElementById("mdp-readabler-action-align-center");null!==e&&e.classList.contains("mdp-active")&&e.click();let t=document.getElementById("mdp-readabler-action-align-left");null!==t&&t.classList.contains("mdp-active")&&t.click()}},B={textColorsStyle:document.createElement("style"),init:function(){document.querySelector("#mdp-readabler-action-text-colors").addEventListener("ReadablerPaletteChanged",B.textColors)},textColors:function(e){let t=e.detail.color;null!==t?(document.body.classList.add("mdp-readabler-text-colors"),B.textColorsStyle.innerHTML=`\n                body.mdp-readabler-text-colors a,\n                body.mdp-readabler-text-colors p,\n                body.mdp-readabler-text-colors li,\n                body.mdp-readabler-text-colors label,\n                body.mdp-readabler-text-colors input,\n                body.mdp-readabler-text-colors select,\n                body.mdp-readabler-text-colors textarea,\n                body.mdp-readabler-text-colors legend,\n                body.mdp-readabler-text-colors code,\n                body.mdp-readabler-text-colors pre,\n                body.mdp-readabler-text-colors dd,\n                body.mdp-readabler-text-colors dt,\n                body.mdp-readabler-text-colors span,\n                body.mdp-readabler-text-colors blockquote {\n                    color: ${t} !important;\n                }\n            `,document.head.appendChild(B.textColorsStyle)):document.body.classList.remove("mdp-readabler-text-colors")}},I={titleColorsStyle:document.createElement("style"),init:function(){document.querySelector("#mdp-readabler-action-title-colors").addEventListener("ReadablerPaletteChanged",I.titleColors)},titleColors:function(e){let t=e.detail.color;null!==t?(document.body.classList.add("mdp-readabler-title-colors"),I.titleColorsStyle.innerHTML=`\n                body.mdp-readabler-title-colors h1,\n                body.mdp-readabler-title-colors h1 *,\n                body.mdp-readabler-title-colors h2,\n                body.mdp-readabler-title-colors h2 *,\n                body.mdp-readabler-title-colors h3,\n                body.mdp-readabler-title-colors h3 *,\n                body.mdp-readabler-title-colors h4,\n                body.mdp-readabler-title-colors h4 *,\n                body.mdp-readabler-title-colors h5,\n                body.mdp-readabler-title-colors h5 *,\n                body.mdp-readabler-title-colors h6,\n                body.mdp-readabler-title-colors h6 * {\n                    color: ${t} !important;\n                }\n            `,document.head.appendChild(I.titleColorsStyle)):document.body.classList.remove("mdp-readabler-title-colors")}},M={backgroundColorsStyle:document.createElement("style"),init:function(){document.querySelector("#mdp-readabler-action-background-colors").addEventListener("ReadablerPaletteChanged",M.backgroundColors)},backgroundColors:function(e){let t=e.detail.color;null!==t?(document.body.classList.add("mdp-readabler-background-colors"),M.backgroundColorsStyle.innerHTML=`\n                /*noinspection CssUnusedSymbol*/\n                body.mdp-readabler-background-colors,\n                body.mdp-readabler-background-colors h1,\n                body.mdp-readabler-background-colors h1 span,\n                body.mdp-readabler-background-colors h2,\n                body.mdp-readabler-background-colors h2 span,\n                body.mdp-readabler-background-colors h3,\n                body.mdp-readabler-background-colors h3 span,\n                body.mdp-readabler-background-colors h4,\n                body.mdp-readabler-background-colors h4 span,\n                body.mdp-readabler-background-colors h5,\n                body.mdp-readabler-background-colors h5 span,\n                body.mdp-readabler-background-colors h6,\n                body.mdp-readabler-background-colors h6 span,\n\n                body.mdp-readabler-background-colors p,\n                body.mdp-readabler-background-colors a,\n                body.mdp-readabler-background-colors li,\n                body.mdp-readabler-background-colors label,\n                body.mdp-readabler-background-colors input,\n                body.mdp-readabler-background-colors select,\n                body.mdp-readabler-background-colors textarea,\n                body.mdp-readabler-background-colors legend,\n                body.mdp-readabler-background-colors code,\n                body.mdp-readabler-background-colors pre,\n                body.mdp-readabler-background-colors dd,\n                body.mdp-readabler-background-colors dt,\n                body.mdp-readabler-background-colors span,\n                body.mdp-readabler-background-colors blockquote {\n                    background-color: ${t} !important;\n                }\n            `,document.head.appendChild(M.backgroundColorsStyle)):document.body.classList.remove("mdp-readabler-background-colors")}},A={init:function(){document.querySelector("#mdp-readabler-action-mute-sounds").addEventListener("ReadablerToggleBoxChanged",A.muteSounds)},muteSounds:function(e){if(!e.target.classList.contains("mdp-active"))return A.mute(!1),void document.documentElement.classList.remove("mdp-readabler-mute-sounds");A.mute(!0),document.documentElement.classList.add("mdp-readabler-mute-sounds")},mute:function(e){document.querySelectorAll("video, audio").forEach(t=>{t.muted=e}),document.querySelectorAll("iframe").forEach(t=>{if(t.src.toLowerCase().includes("youtube.com")||t.src.toLowerCase().includes("vimeo.com")){let n=new URL(t.src);e?(n.searchParams.append("mute","1"),n.searchParams.append("muted","1")):(n.searchParams.delete("mute"),n.searchParams.delete("muted")),t.src=n.href}})}},O={hideImagesStyle:document.createElement("style"),init:function(){document.querySelector("#mdp-readabler-action-hide-images").addEventListener("ReadablerToggleBoxChanged",O.hideImages)},hideImages:function(e){e.target.classList.contains("mdp-active")?(document.body.classL
14ist.add("mdp-readabler-hide-images"),O.hideImagesStyle.innerHTML="\n                body.mdp-readabler-hide-images img,\n                body.mdp-readabler-hide-images video {\n                    opacity: 0 !important;\n                    visibility: hidden !important\n                }\n\n                body.mdp-readabler-hide-images * {\n                    background-image: none !important\n                }\n\n            ",document.head.appendChild(O.hideImagesStyle)):document.body.classList.remove("mdp-readabler-hide-images")}},P={keyboardBox:document.getElementById("mdp-readabler-keyboard-box"),keyboard:null,selectedInput:null,init:function(){document.querySelector("#mdp-readabler-action-virtual-keyboard").addEventListener("ReadablerToggleBoxChanged",P.virtualKeyboard),document.addEventListener("focusin",()=>{const e=P.isTextInput(),t=P.keyboardBox;e?(P.onInputFocus(e),e.addEventListener("input",P.onInputChange)):"none"!==t.style&&(t.style.display="none")},!0),document.addEventListener("click",e=>{let t=e.target.nodeName.toLowerCase();null===e.target.closest("#mdp-readabler-keyboard-box")&&"input"!==t&&"textarea"!==t&&(P.keyboardBox.style.display="none")}),P.makeKeyboardDraggable()},isTextInput:function(){const e=document.activeElement,t=e.tagName,n=e.getAttribute("type");return!(!["TEXTAREA","INPUT"].includes(t)||["radio","checkbox","hidden"].includes(n)&&null!==n)&&e},onInputFocus:function(e){document.body.classList.contains("mdp-readabler-virtual-keyboard")&&(P.keyboardBox.style.display="block",e.id||(e.id=P.uid()),P.selectedInput="#"+e.id,P.keyboard.setOptions({inputName:e.id}))},onInputChange:function(e){document.body.classList.contains("mdp-readabler-virtual-keyboard")&&P.keyboard.setInput(e.target.value,e.target.id)},virtualKeyboard:function(t){if(!t.target.classList.contains("mdp-active"))return document.body.classList.remove("mdp-readabler-virtual-keyboard"),void P.keyboard.destroy();document.body.classList.add("mdp-readabler-virtual-keyboard");const n=(new(0,window.SimpleKeyboardLayouts.default)).get(e.virtualKeyboardLayout);P.keyboard=new window.SimpleKeyboard.default({newLineOnEnter:!0,onChange:e=>P.onChange(e),onKeyPress:e=>P.onKeyPress(e),layout:n.layout,theme:"mdp-readabler-simple-keyboard",physicalKeyboardHighlight:!0})},onChange:function(e){document.querySelector(P.selectedInput).value=e},onKeyPress:function(e){"{lock}"!==e&&"{shift}"!==e||P.handleShiftButton()},handleShiftButton:function(){let e="default"===P.keyboard.options.layoutName?"shift":"default";P.keyboard.setOptions({layoutName:e})},uid:function(){return"mdp-"+Date.now().toString(36)+Math.random().toString(36).substr(2)},makeKeyboardDraggable:function(){let e,t,n,a,o=P.keyboardBox,r=document.documentElement,i=!1,d=0,l=0;function s(e){"touchstart"===e.type?(n=e.touches[0].clientX-d,a=e.touches[0].clientY-l):(n=e.clientX-d,a=e.clientY-l),e.target===o&&(i=!0)}function c(){n=e,a=t,i=!1}function u(r){var s,c;i&&("touchmove"===r.type?(e=r.touches[0].clientX-n,t=r.touches[0].clientY-a):(e=r.clientX-n,t=r.clientY-a),d=e,l=t,s=e,c=t,o.style.transform="translate3d("+s+"px, "+c+"px, 0)")}r.addEventListener("touchstart",s,!1),r.addEventListener("touchend",c,!1),r.addEventListener("touchmove",u,!1),r.addEventListener("mousedown",s,!1),r.addEventListener("mouseup",c,!1),r.addEventListener("mousemove",u,!1)}},H={readingGuideStyle:document.createElement("style"),readingGuideEl:null,init:function(){document.querySelector("#mdp-readabler-action-reading-guide").addEventListener("ReadablerToggleBoxChanged",H.readingGuide)},readingGuide:function(e){e.target.classList.contains("mdp-active")?H.createReadingGuide():H.removeReadingGuide()},createReadingGuide:function(){document.querySelectorAll(".mdp-readabler-reading-guide-element").length||(H.addCSS(),H.readingGuideEl=document.createElement("div"),H.readingGuideEl.classList.add("mdp-readabler-reading-guide-element"),document.body.appendChild(H.readingGuideEl),document.addEventListener("mousemove",H.moveReadingGuide),document.addEventListener("click",H.moveReadingGuide))},moveReadingGuide:function(e){let t=e.clientX-Math.round(H.readingGuideEl.clientWidth/2),n=e.clientY;H.readingGuideEl.style.transform="translate3d("+t+"px,"+n+"px,0px)"},removeReadingGuide:function(){document.body.classList.remove("mdp-readabler-reading-guide"),H.readingGuideEl.remove(),document.removeEventListener("mousemove",H.moveReadingGuide),document.removeEventListener("click",H.moveReadingGuide)},addCSS:function(){document.body.classList.add("mdp-readabler-reading-guide"),H.readingGuideStyle.innerHTML=`\n                /*noinspection CssUnusedSymbol*/\n                .mdp-readabler-reading-guide {\n                    --readabler-reading-guide-width: ${e.readingGuideWidth}px;\n                    --readabler-reading-guide-height: ${e.readingGuideHeight}px;\n                    --readabler-reading-guide-radius: ${e.readingGuideBorderRadius}px;\n                    --readabler-reading-guide-bg: ${e.readingGuideBackgroun
14dColor};\n                    --readabler-reading-guide-border-color: ${e.readingGuideBorderColor};\n                    --readabler-reading-guide-border-width: ${e.readingGuideBorderWidth}px;\n                    --readabler-reading-guide-arrow: ${e.readingGuideArrow}px;\n                    --readabler-reading-guide-arrow-margin: ${0-e.readingGuideArrow}px;\n                }\n            `,document.head.appendChild(H.readingGuideStyle)}},U={select:document.getElementById("mdp-readabler-useful-links"),init:function(){U.buildSelect(),U.select.addEventListener("change",e=>{window.location.href=e.target.value})},grabLinks:function(){let t=document.querySelectorAll("a"),n=[];n.push([e.HOME,window.location.origin]);for(let e=0;e<t.length;e++){let a=t[e].innerText;if(a=a.replace(/\s+/g," ").trim(),""===a)continue;a=a.substring(0,42);let o=t[e].href;o=o.trim(),""!==o&&"#"!==o&&(o.toLowerCase().startsWith("javascript:")||n.some((function(e){return e[1]===o}))||n.push([a,o]))}return n},buildSelect:function(){let e=U.grabLinks();for(let t=0;t<e.length;t++){let n=document.createElement("option");n.textContent=e[t][0],n.value=e[t][1],U.select.appendChild(n)}}},D={stopAnimationsStyle:document.createElement("style"),init:function(){document.querySelector("#mdp-readabler-action-stop-animations").addEventListener("ReadablerToggleBoxChanged",D.stopAnimations)},stopAnimations:function(e){if(!e.target.classList.contains("mdp-active"))return document.body.classList.remove("mdp-readabler-stop-animations"),void document.querySelectorAll("video").forEach(e=>{!0===e.paused&&"true"===e.dataset.pausedByReadabler&&(e.play(),e.dataset.pausedByReadabler="false")});document.body.classList.add("mdp-readabler-stop-animations"),D.stopAnimationsStyle.innerHTML="\n\n                /*noinspection CssUnusedSymbol,CssUnknownProperty*/\n                body.mdp-readabler-stop-animations *{\n                    -webkit-transition: none !important;\n                    -moz-transition: none !important;\n                    -ms-transition: none !important;\n                    -o-transition: none !important;\n                    transition: none !important;\n                    -webkit-animation-fill-mode: forwards !important;\n                    -moz-animation-fill-mode: forwards !important;\n                    -ms-animation-fill-mode: forwards !important;\n                    -o-animation-fill-mode: forwards !important;\n                    animation-fill-mode: forwards !important;\n                    -webkit-animation-iteration-count: 1 !important;\n                    -moz-animation-iteration-count: 1 !important;\n                    -ms-animation-iteration-count: 1 !important;\n                    -o-animation-iteration-count: 1 !important;\n                    animation-iteration-count: 1 !important;\n                    -webkit-animation-duration: .01s !important;\n                    -moz-animation-duration: .01s !important;\n                    -ms-animation-duration: .01s !important;\n                    -o-animation-duration: .01s !important;\n                    animation-duration: .01s !important;\n                }\n\n            ",document.head.appendChild(D.stopAnimationsStyle),document.querySelectorAll("video").forEach(e=>{!1===e.paused&&(e.pause(),e.dataset.pausedByReadabler="true")}),document.querySelectorAll("iframe").forEach(e=>{"undefined"===e.dataset.pausedByReadabler?e.dataset.pausedByReadabler="true":setTimeout((function(){let t=e.src;t.includes("www.youtube.com/embed")&&(e.src=t,e.dataset.pausedByReadabler="true")}),300)})}},$={readingMaskStyle:document.createElement("style"),readingMaskTop:null,readingMaskBottom:null,init:function(){document.querySelector("#mdp-readabler-action-reading-mask").addEventListener("ReadablerToggleBoxChanged",$.readingMask)},readingMask:function(e){e.target.classList.contains("mdp-active")?$.createReadingMask():$.removeReadingMask()},createReadingMask:function(){document.querySelectorAll(".mdp-readabler-reading-mask-top").length||(document.body.classList.add("mdp-readabler-reading-mask"),$.readingMaskTop=document.createElement("div"),$.readingMaskTop.classList.add("mdp-readabler-reading-mask-top"),document.body.appendChild($.readingMaskTop),$.readingMaskBottom=document.createElement("div"),$.readingMaskBottom.classList.add("mdp-readabler-reading-mask-bottom"),document.body.appendChild($.readingMaskBottom),document.addEventListener("mousemove",$.moveReadingMask))},moveReadingMask:function(t){let n=t.clientY,a=Math.round(e.readingMaskHeight/2);$.readingMaskTop.style.height=n-a+"px",$.readingMaskBottom.style.top=n+a+"px"},removeReadingMask:function(){document.body.classList.remove("mdp-readabler-reading-mask"),$.readingMaskTop.remove(),$.readingMaskBottom.remove(),document.removeEventListener("mousemove",$.moveReadingMask)}},_={highlightHoverStyle:document.createElement("style"),init:function(){document.querySelector("#mdp-readabler-action-highlight-hover").addEventListener("ReadablerToggleBoxChanged",_.highlightHover)},highlightHover:function(t){t.target.classList.contains("mdp-active")?(document.body.classList.add("mdp-readabler-highlight-hover"),_.highlightHoverStyle.innerHTML=`\n\n                /*noinspection CssUnusedSymbol*/\n                body.mdp-readabler-highlight-hover *:hover {\n                    outline-style: ${e.highlightHoverStyle} !important;\n                    outline-color: ${e.highlightHoverColor} !important;\n                    outline-width: ${e.highlightHoverWidth}px !important;\n                    outline-offset: ${e.highlightHoverOffset}px !important;\n                }\n                \n            `,document.head.appendChild(_.highlightHoverStyle)):document.body.classList.remove("mdp-readabler-highlight-hover")}},N={highlightFocusStyle:document.createElement("style"),init:function(){document.querySelector("#mdp-readabler-action-highlight-focus").addEventListener("ReadablerToggleBoxChanged",N.highlightFocus)},highlightFocus:function(t){t.target.classList.contains("mdp-active")?(document.body.classList.add("mdp-readabler-highlight-focus"),N.highlightFocusStyle.innerHTML=`\n\n                /*noinspection CssUnusedSymbol*/\n                body.mdp-readabler-highlight-focus *:focus {\n                    outline-style: ${e.highlightFocusStyle} !important;\n                    outline-color: ${e.highlightFocusColor} !important;\n                    outline-width: ${e.highlightFocusWidth}px !important;\n                    outline-offset: ${e.highlightFocusOffset}px !important;\n                }\n                \n            `,document.head.appendChild(N.highlightFocusStyle)):document.body.classList.remove("mdp-readabler-highlight-focus")}},F={init:function(){document.querySelector("#mdp-readabler-action-keyboard-navigation").addEventListener("ReadablerToggleBoxChanged",F.keyboardNavigation)},keyboardNavigation:function(e){if(!e.target.classList.contains("mdp-active"))return document.body.classList.remove("mdp-readabler-keyboard-navigation"),F.restoreOriginalTabIndex(),void(J.enabled=!1);document.body.classList.add("mdp-readabler-keyboard-navigation"),F.makeFocusable(),J.enabled=!0},makeFocusable:function(){document.querySelectorAll('nav, [role="navigation"], h1, h2, h3, h4, h5, h6, [role="heading"], form:not([disabled]), button:not([disabled]), [role="button"]:not([disabled]), img, picture, svg').forEach(e
14=>{e.tabIndex<0&&(e.dataset.readablerOriginalTabIndex=e.tabIndex,e.tabIndex=0)})},restoreOriginalTabIndex:function(){document.querySelectorAll('nav, [role="navigation"], h1, h2, h3, h4, h5, h6, [role="heading"], form:not([disabled]), button:not([disabled]), [role="button"]:not([disabled]), img, picture, svg').forEach(e=>{null!=e.dataset.readablerOriginalTabIndex&&(e.tabIndex=e.dataset.readablerOriginalTabIndex,delete e.dataset.readablerOriginalTabIndex)})},setFocus:function(e,t=!0){if(document.activeElement){let n=Array.prototype.filter.call(document.querySelectorAll(e),(function(e){return e.offsetWidth>0||e.offsetHeight>0||e===document.activeElement})),a=n.indexOf(document.activeElement);if(a>-1){let e;e=t?n[a+1]||n[0]:n[a-1]||n[n.length-1],e.focus()}else t?n[0].focus():n[n.length-1].focus()}}},G={init:function(){null!==document.getElementById("mdp-readabler-statement-btn")&&(document.getElementById("mdp-readabler-statement-btn").addEventListener("click",G.show),document.getElementById("mdp-readabler-close-statement-btn").addEventListener("click",G.close))},show:function(e){e.preventDefault(),document.getElementById("mdp-readabler-accessibility-statement-box").classList.add("mdp-open")},close:function(e){e.preventDefault(),document.getElementById("mdp-readabler-accessibility-statement-box").classList.remove("mdp-open")}},z={init:function(){let e=document.getElementById("mdp-readabler-reset-btn");e&&e.addEventListener("click",z.reset)},reset:function(e){e.preventDefault();let t=Object.keys(localStorage);for(const e in t)t[e].toString().startsWith("mdpReadabler")&&localStorage.removeItem(t[e]);location.reload()}},W={init:function(){let e=document.getElementById("mdp-readabler-hide-btn");e&&e.addEventListener("click",W.hide)},hide:function(t){t.preventDefault(),window.confirm(e.HIDE_ACCESSIBILITY_INTERFACE)&&(W.writeCookie("mdp-readabler-hide","1",365),window.location.reload())},writeCookie:function(e,t,n){let a=new Date;return n=n||365,a.setTime(+a+864e5*n),window.document.cookie=e+"="+t+"; expires="+a.toGMTString()+"; path=/",t}};function Y(t){if(window.document.cookie.indexOf("mdp-readabler-hide=1")>-1){const e=document.querySelector("#mdp-readabler-popup-box"),t=document.querySelector("#mdp-readabler-trigger-button");return e&&e.remove(),void(t&&t.remove())}e=t,"loading"===document.readyState?document.addEventListener("DOMContentLoaded",X):X()}function X(){t.init(),n.init(),b.E.init(),p.w.init(),g.Y.init(),G.init(),z.init(),W.init(),e.onlineDictionary&&v.init(),L.init(),e.contentScaling&&x.init(),e.fontSizing&&h.j.init(),e.lineHeight&&y.L.init(),e.letterSpacing&&f.C.init(),(e.readableFont||e.profileVisuallyImpaired||e.profileBlindUsers)&&S.init(),e.dyslexiaFont&&k.init(),(e.highlightTitles||e.profileCognitiveDisability)&&w.init(),(e.highlightLinks||e.profileCognitiveDisability)&&E.init(),e.textMagnifier&&C.init(),e.alignCenter&&T.init(),e.alignLeft&&R.init(),e.alignRight&&q.init(),e.darkContrast&&i.M.init(),e.lightContrast&&d.B.init(),e.monochrome&&c.c.init(),(e.highSaturation||e.profileVisuallyImpaired||e.profileAdhdFriendly)&&l.x.init(),e.highContrast&&m.D.init(),(e.lowSaturation||e.profileEpilepsy)&&s.N.init(),e.textColors&&B.init(),e.titleColors&&I.init(),e.backgroundColors&&M.init(),e.muteSounds&&A.init(),e.hideImages&&O.init(),(e.virtualKeyboard||e.profileBlindUsers)&&P.init(),e.readingGuide&&H.init(),e.usefulLinks&&U.init(),(e.stopAnimations||e.profileEpilepsy||e.profileCognitiveDisability||e.profileAdhdFriendly)&&D.init(),(e.readingMask||e.profileAdhdFriendly)&&$.init(),e.highlightHover&&_.init(),e.highlightFocus&&N.init(),e.bigBlackCursor&&o.j.init(),e.bigWhiteCursor&&r.h.init(),(e.textToSpeech||e.profileBlindUsers)&&a.x.init(),(e.keyboardNavigation||e.profileBlindUsers)&&F.init(),V()&&(p.w.loadSaved(),b.E.loadSaved(),g.Y.loadSaved(),L.loadSaved()),function(){let t="on"===e.ignoreSavedConfig;const n=["content_scaling","font_sizing","line_height","letter_spacing"];V()&&!t||e.startConfig&&e.startConfig.forEach(t=>{const a=t.includes("profile")?"accessibility-"+t:"action-"+t,o="mdp-readabler-"+a.replaceAll("_","-"),r=document.getElementById(o);if(r)if(n.includes(t)){const n=e[j(t,"_","start")]?e[j(t,"_","start")]:0;let a=r.querySelector(".mdp-readabler-value");
14a.dataset.value=n.toString(),b.E.setLabel(a,n);const i=new CustomEvent("ReadablerInputSpinnerChanged",{});a.dispatchEvent(i),(0,u.c)(o,a.dataset.value)}else{const e=(0,u.t)("mdp-readabler-"+a.replaceAll("_","-"));JSON.parse(e)||r.click()}})}()}function K(e,t=" "){return e.toLowerCase().split(t).map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(t)}function j(e,t="_",n="",a=""){let o="";return(e=n+t+e+t+a).toLowerCase().split(t).forEach((e,t)=>{o+=0===t?e.toLowerCase():e.charAt(0).toUpperCase()+e.slice(1)}),o}function V(){const e=Object.keys(localStorage);return"object"==typeof e&&e.some(e=>{if(e.includes("mdpReadabler"))return!0})}function Q(e,t){let n=0;return function(...a){clearTimeout(n),n=setTimeout(e.bind(this,...a),t||0)}}let J=function(){const t={enabled:!1,trigger:n};function n(t,n){p?v():function(){const t=function(){const t=r.createElement("div");return t.innerHTML='<svg id="focus-snail_svg" width="1000" height="800">\t\t<linearGradient id="focus-snail_gradient">\t\t\t<stop id="focus-snail_start" offset="0%" stop-color="'+e.highlightFocusColor+'" stop-opacity="0"/>\t\t\t<stop id="focus-snail_middle" offset="80%" stop-color="'+e.highlightFocusColor+'" stop-opacity="0.8"/>\t\t\t<stop id="focus-snail_end" offset="100%" stop-color="'+e.highlightFocusColor+'" stop-opacity="0"/>\t\t</linearGradient>\t\t<polygon id="focus-snail_polygon" fill="url(#focus-snail_gradient)"/>\t</svg>',t}();p=f(t,"svg"),m=f(t,"polygon"),b=f(t,"start"),g=f(t,"middle"),h=f(t,"end"),y=f(t,"gradient"),d.appendChild(p)}();const i=k(t),l=k(n);let c=0,L=0,E=0,C=0;const T=function(e){return 50*Math.pow(function(e,t,n){return e<=32?32:e>=1024?1024:e}(e),1/3)}(function(e,t,n,a){const o=e-n,r=t-a;return Math.sqrt(o*o+r*r)}(i.left,i.top,l.left,l.top));let R=!0;!function(e,t){const n=Date.now();!function a(){s=requestAnimationFrame((function(){const o=Date.now()-n;e(o/t),o<t&&a()}))}()}((function(e){R&&(function(){const e=w();p.style.left=e.left+"px",p.style.top=e.top+"px",p.setAttribute("width",o.innerWidth.toString()),p.setAttribute("height",o.innerHeight.toString()),p.classList.add("focus-snail_visible"),c=l.left-e.left,L=i.left-e.left,E=l.top-e.top,C=i.top-e.top}(),function(e,t,n,a,o,r,i,d,l){const s=u(t,n,a,o),c=u(r,i,d,l),p=function(e){const t=Math.floor(e/Math.PI*2)+2,n=Math.PI/4+Math.PI/2*t,a=Math.sqrt(2),o=Math.cos(Math.abs(n-e))*a,r=o*Math.cos(e),i=o*Math.sin(e);return{x1:r<0?1:0,y1:i<0?1:0,x2:r>=0?r:r+1,y2:i>=0?i:i+1}}(Math.atan2(s.y-c.y,s.x-c.x));e.setAttribute("x1",p.x1),e.setAttribute("y1",p.y1),e.setAttribute("x2",isNaN(p.x2)?0:p.x2),e.setAttribute("y2",isNaN(p.y2)?0:p.y2)}(y,L,C,i.width,i.height,c,E,l.width,l.height),function(e,t){t.points.clear();for(let n=0;n<e.length;n++)x(t,e[n])}(function(e,t){let n=0;e.top<t.top&&(n=1),e.right>t.right&&(n+=2),e.bottom>t.bottom&&(n+=4),e.left<t.left&&(n+=8);const a=S(e).concat(S(t)),o=[],r=[[],[0,1],[1,2],[0,1,2],[2,3],[0,1],[1,2,3],[0,1,2,3],[3,0],[3,0,1],[3,0],[3,0,1,2],[2,3,0],[2,3,0,1],[1,2,3,0],[0,1,2,3,0]][n];let i;for(i=0;i<r.length;i++)o.push(a[r[i]]);for(;i--;)o.push(a[r[i]+4]);return o}({top:C,right:L+i.width,bottom:C+i.height,left:L},{top:E,right:c+l.width,bottom:E+l.height,left:c}),m));const t=e>.4?a((e-.4)/.6):0,n=e<.8?a(e/.8):1;b.setAttribute("offset",100*t+"%"),g.setAttribute("offset",100*n+"%"),e>=1&&v(),R=!1}),T)}function a(e){return 2*e-e*e}let o=window;const r=document,i=r.documentElement,d=r.body;let l=null,s=0,c=0;function u(e,t,n,a){return{x:e+n/2,y:t+a/2}}i.addEventListener("keydown",(function(e){t.enabled&&(c=Date.now())}),!1),i.addEventListener("blur",(function(e){t.enabled&&(v(),l=L()?e.target:null)}),!0),i.addEventListener("focus",(function(e){l&&L()&&n(l,e.target)}),!0);let p=null,m=null,b=null,g=null,h=null,y=null;function f(e,t){return e.querySelector("#focus-snail_"+t)}function v(){s&&(cancelAnimationFrame(s),s=0,p.classList.remove("focus-snail_visible"))}function L(){return Date.now()-c<42}function x(e,t){const n=e.ownerSVGElement.createSVGPoint();n.x=isNaN(t.x)?0:t.x,n.y=isNaN(t.y)?0:t.y,e.points.appendItem(n)}function S(e){return[{x:e.left,y:e.top},{x:e.right,y:e.top},{x:e.right,y:e.bottom},{x:e.left,y:e.bottom}]}function k(e){const t=function(e){const t=e.getBoundingClientRect(),n=w(),a=i.clientTop||d.clientTop,o=i.clientLeft||d.clientLeft;
14return{top:t.top+n.top-a||0,left:t.left+n.left-o||0}}(e);return{left:t.left-0,top:t.top-0,width:Math.max(12,e.offsetWidth)+0,height:Math.max(8,e.offsetHeight)+0}}function w(){return{top:o.pageYOffset||i.scrollTop||0,left:o.pageXOffset||i.scrollLeft||0}}const E=r.createElement("style");return E.textContent="#focus-snail_svg {\tposition: absolute;\ttop: 0;\tright: 0;\tbottom: 0;\tleft: 0;\tmargin: 0;\tbackground: transparent;\tvisibility: hidden;\tpointer-events: none;\t-webkit-transform: translateZ(0);}#focus-snail_svg.focus-snail_visible {\tvisibility: visible;\tz-index: 999;}#focus-snail_polygon {\tstroke-width: 0;}",d.appendChild(E),t}();return{run:function(e){Y(e)}}}();window.addEventListener("DOMContentLoaded",e=>{null!==document.querySelector("#mdp-readabler-demo")&&document.querySelector("#mdp-readabler-demo").addEventListener("click",()=>{MicroModal.show("mdp-readabler-popup-box",{openClass:"mdp-is-open",disableFocus:!1})})}),v.run(window.mdpReadablerOptions)}},t={};function n(a){var o=t[a];if(void 0!==o)return o.exports;var r=t[a]={exports:{}};return e[a](r,r.exports,n),r.exports}n.d=(e,t)=>{for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n(229),n(403),n(443),n(710),n(740),n(21),n(361),n(63),n(47),n(223),n(249),n(902),n(700),n(58),n(726),n(319),n(518),n(874),n(591)})();

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.