!function(e){function t(e){return"[object Array]"===Object.prototype.toString.call(e)}function n(){for(var e=0;e>>16&65535,i=65535&e,r=t>>>16&65535,o=65535&t;return i*o+(n*o+i*r<<16>>>0)|0}),Array.prototype.find=Array.prototype.find||function(e){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof e)throw new TypeError("callback must be a function");for(var t=Object(this),n=t.length>>>0,i=arguments[1],r=0;r0)&&!(i=o.next()).done;)a.push(i.value)}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a},__spreadArray=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var i,r=0,o=t.length;r=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};!function(){function e(){}function t(e,t){void 0===t&&(t=0),e=""+(e||"");for(var n=3735928559^t,i=1103547991^t,r=0,o=void 0;r>>16,2246822507)^Math.imul(i^i>>>13,3266489909),4294967296*(2097151&(i=Math.imul(i^i>>>16,2246822507)^Math.imul(n^n>>>13,3266489909)))+(n>>>0)}function n(e){var n={s:"src",h:"href"},i=e.innerText?t(e.innerText):"";return Object.keys(n).reduce(function(i,r){var o=n[r],a=e.getAttribute?e.getAttribute(o):"";return e.hasAttribute&&e.hasAttribute(o)&&""!==a?i+";"+r+":"+t(a):i},"|"+i)}function r(e,t){var n=document.createElement("div");n.innerHTML=e,n.classList.add("uw-page-structure-modal"),n.setAttribute("data-uw-feature-ignore","true"),n.id="uwPageStructureModal",t.isMobile&&n.firstChild&&n.firstChild.classList.add("uw-ps-mobile");var i=document.querySelector(".uw-s10-reading-guide");i&&i.parentElement&&i.parentElement.insertBefore(n,i)}function o(e,t,n,i){i?e.settings[t].value[i]=n:"object"==typeof e.settings[t]?e.settings[t].value=n:e.settings[t]=n;try{window.localStorage.setItem(t,n)}catch(e){console.warn("localStorage is not supported or accessible in this environment.")}}function a(){return"uw"+(~~(1e8*Math.random())).toString(16)}function s(e,t){for(var n=0;n0&&setTimeout(function(){var i=e.getBoundingClientRect();(i.top<0||i.top>=(window.innerHeight||document.documentElement.clientHeight))&&A(e,t,n-1)},t)}function L(e,t){var n=_();[document].concat(n).forEach(function(n){e.apply(n,t)})}function T(e){var t=window.location.origin;try{var n=new URL(e);if(!["http:","https:"].includes(n.protocol))return!1;return/^(https:\/\/)(?:qa\.|api\.qa\.|api\.dev\.|cdn\.dev\.|cdn\.qa\.|cdn77\.api\.qa\.|manage\.qa\.|manage\.dev\.|api\.|cdn\.|cdn77\.api\.|manage\.|)?userway\.(org|dev)(\/api\/|\/)?/.test(n.origin)||n.origin===t}catch(e){return!1}}function W(e){var t=document.createElement("a");t.href=e,t.target="_blank",t.rel="noopener noreferrer",document.body.appendChild(t),t.click(),document.body.removeChild(t)}function x(e){function t(e,t){window.URL=window.URL||window.webkitURL;var n=document.createElement("a"),i=new Blob([e]),r=window.URL.createObjectURL(i);n.href=r,n.download=t,n.click(),window.URL.revokeObjectURL(r)}if(T(e)){var n=function(e){return e.replace(/[^a-zA-Z0-9_.-]/g,"_")}(e.substring(e.lastIndexOf("/")+1));n.endsWith(".pdf")&&function(e,t,n){var i=new XMLHttpRequest;i.open("get",e,!0),n.responseType&&(i.responseType=n.responseType),i.onreadystatechange=function(){4===i.readyState&&200===i.status&&t(i)},i.send()}(e,function(e){t(e.response,n)},{responseType:"blob"})}}function O(e){var t,n=function(e){return e&&"input"===e.tagName.toLowerCase()&&e.hasAttribute("matinput")};return{materialInputLabelContainer:n(null===e||void 0===e?void 0:e.previousElementSibling)&&e,materialInputLabelContainerDescendants:n(null===(t=null===e||void 0===e?void 0:e.parentElement)||void 0===t?void 0:t.previousElementSibling)&&e.parentElement.querySelectorAll("*")}}var I="https://cdn.userway.org/",N=window.UserWayWidgetApp.addLib("util"),U="data-uw-iframe-ignore",C=window.UserWayWidgetApp.getLib("message-stream"),k=UserWayWidgetApp.getLib("inlineStyling");N.firedEvents={},N.LIFE_CYCLE_EVENT={INIT:"userway:init_completed",RENDER:"userway:render_completed",REMEDIATION:"userway:remediation_completed",FEATURE_ENABLED_BASE:"userway:feature_enabled_",FEATURE_DISABLED_BASE:"userway:feature_disabled_",REMEDIATION_IMAGE_ALT_FINISHED:"userway:remediation_image_alt_finished",REMEDIATION_CSR_LOADED:"userway:remediation_csr_loaded"},N.PROCESSING_EVENT={REMEDIATION_FORCE_RERUN:"userway:remediation_force_rerun"},N.DELAYS={SHORT:100,MEDIUM:500,LONG:1e3};var M=["STYLE","SCRIPT","NOSCRIPT","TEMPLATE"];N.logger=function(){return["log","error","warn","info","debug","trace"].reduce(function(e,t){var n;return __assign(__assign({},e),(n={},n[t]=function(){},n))},{})}(),N.supportsPassive=!1;try{var P=Object.defineProperty({},"passive",{get:function(){N.supportsPassive=!0}});window.addEventListener("testPassive",null,P),window.removeEventListener("testPassive",null,P)}catch(e){}N.init=e,N.isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),N.iOSMobile=/(iphone|ipod|ipad).* os /.test(navigator.userAgent.toLowerCase()),N.isChromeExtensionEnv=function(){return"object"==typeof chrome&&"object"==typeof chrome.extension},N.request=function(e){return new Promise(function(t,n){"string"!=typeof e.url&&n({});var i=new XMLHttpRequest,r="string"==typeof e.method&&-1!==["GET","HEAD","POST","PUT","DELETE","CONNECT","OPTIONS","TRACE","PATCH"].indexOf(e.method.toUpperCase())?e.method.toUpperCase():"GET";e.body&&"GET"===r&&Object.keys(e.body).forEach(function(t,n){e.url=0===n?e.url+"?"+t+"="+e.body[t]:e.url+"&"+t+"="+e.body[t]}),i.open(r,e.url),"object"==typeof e.header&&Object.keys(e.header).forEach(function(t){i.setRequestHeader(t,e.header[t])}),i.onload=function(){200===i.status?t(i):n(i)},i.onerror=function(){n(i)},i.onabort=function(){n(i)},i.send(e.body?JSON.stringify(e.body):null)})},N.customTrim=function(e){return e?e.replace(/(\n|\r\n)/g,"").replace(/\s+/g," ").replace(/\u200B/g,"").trim():""},N.customTextContent=function(e,t){void 0===t&&(t=3);var n=function(e,t){if(t<1)return"";var i=e.childElementCount,r="";return i||(r+=e.textContent),!r&&e.length&&(r+=e.nodeValue),i&&e.childNodes.length&&(r+=__spreadArray([],__read(e.childNodes),!1).map(function(e){return n(e,t-1)}).join(" ")),r};return n(e,t)},N.execJs=function(e,t){if("string"==typeof e)return new Promise(function(n,i){var r=document.createElement("script");t&&(r.crossOrigin="anonymous",r.integrity=t),(document.body||document.head).appendChild(r),r.onload=function(){n(r)},r.onerror=function(){i(r)},r.src=e})},N.xpath=function e(t,i){if(void 0===i&&(i=!1),t===document.documentElement)return"/HTML";if(t===document.body)return"/HTML/BODY";if(t===document.head)return"/HTML/HEAD";for(var r=0,o=t.parentNode?t.parentNode.childNodes:[],a=t,s=0;a&&a.tagName;)a=a.parentNode,s++;for(var l=0;l0},N.getParents=function(e){return"BODY"===e.nodeName?[e]:arguments.callee(e.parentElement).concat(e)},N.isFirstAboveSecond=function(e,t,n){if(null==n&&(n=0),e[n]===t[n])return null!=e[i]&&arguments.callee(e,t,n+1);var r=e[n]?indow.getComputedStyle(e[n]).zIndex:"auto",o=t[n]?window.getComputedStyle(t[n]).zIndex:"auto";return r===o?arguments.callee(e,t,n+1):("auto"===r?-.5:+r)>("auto"===o?-.5:+o)};N.getUserWayIconElementTitle=function(e){return(0,window.UserWayWidgetApp.getLib("localization_manager").translate)(e.language,"widget.html_title")||"Accessibility Menu"};N.getUserWayLstIconElementTitle=function(e){return(0,window.UserWayWidgetApp.getLib("localization_manager").translate)(e.language,"widget.html_lst_title")||"Translations Menu"},N.getModalCompanyLogoSource=function(e){var t=e.cdn+"widgetapp/images/logo.svg",n=function(e){return"https://userway.org?utm_source="+e+"&utm_medium=page_structure&utm_campaign=widget"}(e.tunings.site_name);return e.services&&e.services.CUSTOM_BRANDING&&e.services.CUSTOM_BRANDING.custom_logo_image_path?(t=e.services.CUSTOM_BRANDING.custom_logo_image_path,n=e.services.CUSTOM_BRANDING.custom_logo_image_link):e.services&&e.services.WHITE_LABEL&&e.services.WHITE_LABEL.hide_logo&&(t="",n=""),{src:t,url:n}},N.hexToRgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map(function(e){return e+e}).join(""));var i=parseInt(n,16);return[i>>16&255,i>>8&255,255&i]},N.fireForceRemediationRerunEvent=function(){N.fireUserWayLifeCycleEvent(N.PROCESSING_EVENT.REMEDIATION_FORCE_RERUN)},N.fireUserWayRemediationCompletedEvent=function(e){N.fireUserWayLifeCycleEvent(N.LIFE_CYCLE_EVENT.REMEDIATION,e)},N.fireUserWayLifeCycleEvent=function(e,t){void 0===t&&(t=null),N.firedEvents[e]=t;var n={userWayInstance:window.UserWay};t&&(n=N.mergeObjects([n,t]));try{var i,r=N.detectBrowser();"ie"===r?(i=document.createEvent("CustomEvent"),i.initCustomEvent(e,!0,!0,n)):i=new CustomEvent(e,{detail:n}),document.dispatchEvent(i)}catch(e){}},N.isElementVisible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},N.isInView=function(e){var t=e.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.bottom<=document.body.getBoundingClientRect().bottom&&t.right<=document.body.getBoundingClientRect().right},N.isPartOfElementInViewport=function(e){for(var t=e.offsetTop,n=e.offsetLeft,i=e.offsetWidth,r=e.offsetHeight;e.offsetParent;)e=e.offsetParent,t+=e.offsetTop,n+=e.offsetLeft;return twindow.pageYOffset&&n+i>window.pageXOffset},N.containsInnerText=function(e){return!!e.innerText},N.validateElementAccessibility=function(e){return N.isElementVisible(e)&&N.containsInnerText(e)},N.addScreenRearedElement=function(e,t,n){void 0===n&&(n="");var i=document.createElement("span");return i.textContent=t,i.style="color: #ffffff!important;background: #000000!important;clip: rect(1px, 1px, 1px, 1px)!important;clip-path: inset(50%)!important;height: 1px!important;width: 1px!important;margin: -1px!important;overflow: hidden!important;padding: 0!important;position: absolute!important;",i.setAttribute("class",n),i.setAttribute("data-uw-rm-ignore",""),e.appendChild(i),i},N.getViewport=function(){return{vw:Math.max(document.documentElement.clientWidth||0,window.innerWidth||0),vh:Math.max(document.documentElement.clientHeight||0,window.innerHeight||0)}},N.getDiffPercentage=function(e,t){return Math.abs(e-t)/((e+t)/2)*100},N.getStyles=function(e){return e?window.getComputedStyle(e):{}},N.isTransparentElement=function(e){var t=N.getStyles(e),n=t.background,i=t.opacity;return/(^(rgb\())|(^(:?rgba).*(:?255\))$)/.test(n)||"1"!==i},N.isNotDefaultCssFlow=function(e,t){void 0===t&&(t=["absolute","fixed"]);var n=N.getStyles(e).position;return t.includes(n)},N.isOverlayElement=function(e,t){var n=N.getViewport(),i=n.vw,r=n.vh,o=e.offsetWidth,a=e.offsetHeight,s=N.getDiffPercentage(i,o),l=N.getDiffPercentage(r,a);if(s>25&&l>25){return[].slice.call(e.getElementsByTagName("*")).forEach(function(e){e.matches(t.join(","))||e.setAttribute("data-uw-feature-ignore","true")}),!0}return!1},N.ignoreMaterialUI=function(e){var t=O(e),n=t.materialInputLabelContainer,i=t.materialInputLabelContainerDescendants;return!(!n&&!i)&&(n&&n.setAttribute("data-uw-feature-ignore","true"),!0)},N.filterTransparentPositionedElements=function(e,t){void 0===t&&(t=[]);var n=e.matches(t.join(",")),i=window.getComputedStyle(e),r="fixed"===i.position,o=N.isNotDefaultCssFlow(e)&&!N.isTransparentElement(e)&&!n;return!!N.ignoreMaterialUI(e)||(o&&(r?e.setAttribute("data-uw-feature-ignore","true"):o=N.isOverlayElement(e,t)),!o)},N.getHtmlElement=function(){var e=this.getElementsByTagName("html");return e&&e.length&&e[0]?e[0]:null},N.filterIgnoredElems=function(e){return!e.hasAttribute("data-uw-feature-ignore")},N.isOpenShadowRoot=function(e){if(e)return!!e.shadowRoot},N.getShadowRootParent=function(e){var t=e.getRootNode();return t instanceof ShadowRoot?t:null},N.removeFeatureStyles=function(e){var t=e.element,n=e.activeCssClass,i=e.key,r=e.inlineStyles;t.classList.remove(n),k.resetInlineStyles(t,i,r)},N.getShadowRootChildren=function(e,t){return void 0===t&&(t="*"),e.shadowRoot.querySelectorAll(t)},Math.imul||(Math.imul=function(e,t){t|=0;var n=(4194303&e)*t;return 4290772992&e&&(n+=(4290772992&e)*t|0),0|n}),N.execForDocumentAndIframes=L,N.isValidUrl=T,N.openUrl=W,N.downloadPdfFile=x,N.hasParentWithAttribute=function(e,t){var n,i,r=document.querySelectorAll("["+t+"]");try{for(var o=__values(r),a=o.next();!a.done;a=o.next()){var s=a.value;if(s===e||s.contains(e))return!0}}catch(e){n={error:e}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}return!1},N.focusHostDocument=function(){if(N.isSafari){var e=document.createElement("input");e.type="text",e.style.opacity="0",e.style.height="0px",e.style.width="0px",e.style.padding="0px",e.style.border="none",e.style.outline="none",e.style.pointerEvents="none",document.body.appendChild(e),e.focus({preventScroll:!0}),e.remove()}},N.debounce=function(e,t){function n(){clearTimeout(r)}function i(){n(),r=setTimeout(function(){e()},t)}var r=null;return i.cancel=n,i},N.formatLangCode=function(e){return e&&e.replace(/(^\w+)([-|_|,])(\w+$)/,function(e,t,n,i){return t.toLowerCase()+n+i.toUpperCase()})},N.onElementVisible=function(e,t){new IntersectionObserver(function(n,i){n.forEach(function(n){n.intersectionRatio>0&&(t(e),i.disconnect())})}).observe(e)},N.findAllElements=function(e){var t=["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","cursor","defs","desc","discard","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","hatch","hatchpath","hkern","image","line","linearGradient","marker","mask","mesh","meshgradient","meshpatch","meshrow","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","solidcolor","stop","style","svg","switch","symbol","text","textPath","title","tref","tspan","unknown","use","view","vkern"],n=__spreadArray([],__read(t.map(function(e){return"svg "+e})),!1);return e.querySelectorAll("*|*:not("+n.join(",")+")")},N.setItemWithExpiry=function(e,t,n){var i=new Date,r={value:t,expiry:i.getTime()+n};localStorage.setItem(e,JSON.stringify(r))},N.getItemWithExpiry=function(e){var t=N.getProperty(e,!0);return(null===t||void 0===t?void 0:t.expiry)?(new Date).getTime()>t.expiry?(localStorage.removeItem(e),null):t.value:t},N.isValidSelector=function(e){try{return document.body.querySelector(e),!0}catch(e){return!1}},N.querySelectorDeep=function(e){if(!e)return[];var t=[],n=function(i){var r,o;try{for(var a=__values(i),s=a.next();!s.done;s=a.next()){var l=s.value;l.matches(e)&&t.push(l),l.shadowRoot&&n(l.shadowRoot.querySelectorAll('*:not(script, style, link, meta, title, noscript, template, [hidden], [aria-hidden="true"])'))}}catch(e){r={error:e}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}};return n(document.querySelectorAll("*")),t},N.querySelectorDeepSingle=function(e){if(!e)return null;var t=function(n){var i,r;try{for(var o=__values(n),a=o.next();!a.done;a=o.next()){var s=a.value;if(s.matches(e))return s;if(s.shadowRoot){var l=t(s.shadowRoot.querySelectorAll('*:not(script, style, link, meta, title, noscript, template, [hidden], [aria-hidden="true"])'));if(l)return l}}}catch(e){i={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}};return t(document.querySelectorAll("*"))}}();var LS_KEY="uw-icon-locales",CDN_BASE="https://cdn.userway.org/",LOCALES="widgetapp/2025-05-19-09-38-47/locales/",VERSION="2025-05-19-09-38-47";!function(){function e(e){var t=n() ;return t&&t[e]?Promise.resolve():new Promise(function(t,n){r.request({method:"GET",url:CDN_BASE+LOCALES+e+".json"}).then(function(n){n&&n.response&&(i(e,JSON.parse(n.response)),t(""))},function(e){r.logger.warn("Can't load localization resources."),n(e)})})}function t(e,t){if(!e)return"";var i=n();if(i&&i[e]){return t.split(".").reduce(function(e,t){return e&&e[t]},i[e])}return""}function n(){var e=window.localStorage.getItem(LS_KEY);if(!e)return null;var t=JSON.parse(e);return t.version!==VERSION?(window.localStorage.removeItem(LS_KEY),null):t}function i(e,t){var i=n()||{version:VERSION};i[e]=t,window.localStorage.setItem(LS_KEY,JSON.stringify(i))}var r=UserWayWidgetApp.getLib("util"),o=UserWayWidgetApp.addLib("localization_manager");Object.assign(o,{initializeLocale:e,translate:t})}();var __values=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};!function(){var e=[],t={next:function(t){var n,i;try{for(var r=__values(e),o=r.next();!o.done;o=r.next()){(0,o.value)(t)}}catch(e){n={error:e}}finally{try{o&&!o.done&&(i=r.return)&&i.call(r)}finally{if(n)throw n.error}}},subscribe:function(t){return e.push(t),function(){e=e.filter(function(e){return e!==t})}},unsubscribe:function(t){e=e.filter(function(e){return e!==t})},unsubscribeAll:function(){e=[]}};window.messageStream=t;var n=UserWayWidgetApp.addLib("message-stream");Object.assign(n,t)}();var __read=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,r,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=o.next()).done;)a.push(i.value)}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a},__spreadArray=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var i,r=0,o=t.length;r=t?">":" ")},"").slice(0,-1)}function n(e,n){void 0===n&&(n=4);var r,o=e.length-c-n,a=e[e.length-1],s=a.params;if(o<0){r=t(e,0,!0);var l=i(r,s,a);return l||(r=t(e,0),i(r,s,a))}var u;!function(e){e[e.Strict=0]="Strict",e[e.Medium=1]="Medium",e[e.Loose=2]="Loose"}(u||(u={}));for(var d=[u.Strict,u.Medium,u.Loose],g=0;g=0;o--){r=l===u.Loose?t((d=e.slice(0,2)).concat.apply(d,__spreadArray([],__read(e.slice(-o-n)),!1)),e.length-n):t(e,e.length-n-o-1,l===u.Strict);var g=i(r,s,a);if(g)return g}}(d[g]);if(f)return f}return null}function i(e,t,n){var i=o(e);if(1===i.length){if(null==n.params)return i[0];if(r(i[0],t))return i[0]}if(i.length>1){if(null==n.params)return null;var a=i.filter(function(e){return r(e,t)});if(1===a.length)return a[0]}return null}function r(e,t){if(null==t)return!0;var n=e.innerText?l.hashString(e.innerText).toString():"";if(t.innerText.toString()!==n)return!1;var i=e.hasAttribute("href")?l.hashString(e.getAttribute("href")).toString():"";if(t.href&&t.href!==i)return!1;var r=e.hasAttribute("src")?l.hashString(e.getAttribute("src")).toString():"";return!t.src||t.src===r}function o(e){try{return Array.prototype.slice.call(document.querySelectorAll(e))}catch(e){return[]}}function a(t){var i=d(t);return n(e(i.xpath,i.params))}var s=window.UserWayWidgetApp.addLib("xpath_search"),l=window.UserWayWidgetApp.getLib("util"),u={i:"innerText",s:"src",h:"href"},c=2;s.recursiveXpathSearch=a;var d=function(e){var t=__read(e.split("|"),2),n=t[0],i=t[1],r={innerText:""};if(i){var o=__read(i.split(";")),a=o[0],s=o.slice(1);r.innerText=a,s.forEach(function(e){var t=__read(e.split(":"),2),n=t[0],i=t[1];r[u[n]]=i})}return{xpath:n,params:r}};s.getByXpath=function(e){var t=d(e),n=t.xpath,i=t.params,o=document.evaluate(n,document,null,XPathResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue;return r(o,i)?o:null}}(),function(){function e(){}function t(e,t){for(var n=e.length;n--;)if(e[n].listener===t)return n;return-1}function n(e){var t,n,i=this._getEvents();if(e instanceof RegExp){t={};for(n in i)i.hasOwnProperty(n)&&e.test(n)&&(t[n]=i[n])}else t=i[e]||(i[e]=[]);return t}function i(e){var t,n=this.getListeners(e);return n instanceof Array&&(t={},t[e]=n),t||n}function r(e){return"function"==typeof e||e instanceof RegExp||!(!e||"object"!=typeof e)&&r(e.listener)}function o(e,n){if(!r(n))throw new TypeError("listener must be a function");var i,o=this.getListenersAsObject(e),a="object"==typeof n;for(i in o)o.hasOwnProperty(i)&&-1===t(o[i],n)&&o[i].push(a?n:{listener:n,once:!1});return this}function a(e,n){var i,r,o=this.getListenersAsObject(e);for(r in o)o.hasOwnProperty(r)&&-1!==(i=t(o[r],n))&&o[r].splice(i,1);return this}function s(e,t){var n,i,r,o,a=this.getListenersAsObject(e);for(o in a)if(a.hasOwnProperty(o))for(n=a[o].slice(0),r=0;r0)&&!(i=o.next()).done;)a.push(i.value)}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a},__spreadArray=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var i,r=0,o=t.length;r=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},CONTROLS_WITH_TEXT_TAGS=["textarea","select"],INPUT_TYPES_WITH_TEXT_CONTENT=["text","password","submit","reset","button","date","datetime-local","email","file","month","number","search","tel","time","url","week"],isInputElementWithText=function(e){var t;if(e.nodeType!==Node.ELEMENT_NODE)return!1;var n=e.tagName.toLowerCase();if(CONTROLS_WITH_TEXT_TAGS.includes(n))return!0;if("input"===n){var i=(null!==(t=e.getAttribute("type"))&&void 0!==t?t:"").toLowerCase();if(INPUT_TYPES_WITH_TEXT_CONTENT.includes(i)||!i)return!0}return!1},isDirectParentOfText=function(e){return Array.from(e.childNodes).some(function(e){return e.nodeType===Node.TEXT_NODE&&""!==e.textContent.trim()})};!function(){function e(e,t,n){u(t,n)&&(a=!0)}function t(e){var t,n,i,o,a=r.instantiateTreeWalker({root:e.body,nodeFilter:NodeFilter.SHOW_ELEMENT}),s=r.getIframes(),l=s.filter(function(e){return e.body&&e.body.nodeType===Node.ELEMENT_NODE}).map(function(e){return r.instantiateTreeWalker({root:e.body,context:e,nodeFilter:NodeFilter.SHOW_ELEMENT})}),u=new Set,c=new Set,d=function(e){for(var t=[],n=e.nextNode();n;){var i=n;r.hasTextContent(i)&&isDirectParentOfText(i)&&(u.add(i),i.childNodes.forEach(function(e){n.nodeType===Node.TEXT_NODE&&c.add(e)})),isInputElementWithText(i)&&u.add(i),r.isOpenShadowRoot(n)&&t.push(r.instantiateTreeWalker({root:i.shadowRoot,nodeFilter:NodeFilter.SHOW_ELEMENT})),n=e.nextNode()}return{shadowWalkers:t}},g=[];try{for(var f=__values(__spreadArray([a],__read(l),!1)),p=f.next();!p.done;p=f.next()){var y=p.value,v=d(y);g=g.concat(v.shadowWalkers)}}catch(e){t={error:e}}finally{try{p&&!p.done&&(n=f.return)&&n.call(f)}finally{if(t)throw t.error}}var m=UserWayWidgetApp.ContextHolder.config.services.userId;if(365323===m||320802===m||386702===m)for(;g.length;){var h=[];try{for(var w=(i=void 0,__values(g)),b=w.next();!b.done;b=w.next()){var _=b.value,v=d(_);h=h.concat(v.shadowWalkers)}}catch(e){i={error:e}}finally{try{b&&!b.done&&(o=w.return)&&o.call(w)}finally{if(i)throw i.error}}g=h}return{textNodes:__spreadArray([],__read(c),!1),elementsWithText:__spreadArray([],__read(u),!1)}}var n=UserWayWidgetApp.getLib("event_emitter"),i=UserWayWidgetApp.getLib("dom_observer"),r=UserWayWidgetApp.getLib("util"),o=i.DOM_OBSERVER_DOM_CHANGED_EVENT,a=!0,s={textNodes:[],elementsWithText:[]},l=UserWayWidgetApp.addLib("helpers.elements_with_text");l.init=function(){n.on(o,e)},l.getElementsWithText=function(e,n){if(void 0===n&&(n=!0),n&&s.elementsWithText)return s.elementsWithText;if(!a)return s.elementsWithText;var i=t(e),r=i.textNodes,o=i.elementsWithText;return a=!1,s={textNodes:r,elementsWithText:o},o},l.getTextNodes=function(e,n){if(void 0===n&&(n=!0),n&&s.textNodes)return s.textNodes;if(!a)return s.textNodes;var i=t(e),r=i.textNodes,o=i.elementsWithText;return a=!1,s={textNodes:r,elementsWithText:o},r};var u=function(e,t){return!(!e.length&&!t.length)&&(!!e.some(function(e){return e.children.length||r.hasTextContent(e)})||t.some(function(e){return e.children.length||r.hasTextContent(e)}))}}(),function(){var e=UserWayWidgetApp.getLib("helpers.elements_with_text"),t=UserWayWidgetApp.addLib("helpers");t.initialized=!1,t.init=function(){t.initialized||(e.init(),t.ElementsWithText={getElementsWithText:e.getElementsWithText,getTextNodes:e.getTextNodes},t.initialized=!0)}}();var __awaiter=this&&this.__awaiter||function(e,t,n,i){function r(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||(n=Promise))(function(n,o){function a(e){try{l(i.next(e))}catch(e){o(e)}}function s(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){e.done?n(e.value):r(e.value).then(a,s)}l((i=i.apply(e,t||[])).next())})},__generator=this&&this.__generator||function(e,t){function n(e){return function(t){return i([e,t])}}function i(n){if(r)throw new TypeError("Generator is already executing.");for(;l&&(l=0,n[0]&&(s=0)),s;)try{if(r=1,o&&(a=2&n[0]?o.return:n[0]?o.throw||((a=o.return)&&a.call(o),0):o.next)&&!(a=a.call(o,n[1])).done)return a;switch(o=0,a&&(n=[2&n[0],a.value]),n[0]){case 0:case 1:a=n;break;case 4:return s.label++,{value:n[1],done:!1};case 5:s.label++,o=n[1],n=[0];continue;case 7:n=s.ops.pop(),s.trys.pop();continue;default:if(a=s.trys,!(a=a.length>0&&a[a.length-1])&&(6===n[0]||2===n[0])){s=0;continue}if(3===n[0]&&(!a||n[1]>a[0]&&n[1]0)return t=n[e],"break"}(i))break}if(t){for(var o=t.attributes,i=o.length;i--;){var a=o[i],s=0===a.name.indexOf("data")?a.name.replace(/(^data-)/i,""):a.name;s&&e.indexOf(s)>-1&&("type"!==s||["1","2","3","4"].indexOf(a.value)>-1)&&(window._userway_config[s]=a.value)}if(!window._userway_config.account)for(var l=t.src,u=l.split("?").pop().split("&"),c=0;c-1&&d[1]&&(window._userway_config[d[0]]=d[1])}}}}}var t="UserWayWidgetApp",n=window[t].addLib("context_setter"),i=window[t].getLib("util"),r="a11yWidgetSrc";n.initializeConfig=function(){function n(){var e={};return[2,3,4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,21,23,24,25,101,102,103,104,105,106,107,108].forEach(function(t){e["userway-s"+t]={value:0,disabled:!1}}),e}function r(){var e={_userway_config:_userway_config,browser:i.detectBrowser(),isMobile:i.isMobile(),isLH:i.isLightHouse(),href:i.getHref(),account:_userway_config.account||_userway_config.code,origin:window.location.origin,iconType:"1",language:"en-US",languageHardcoded:null,reader:{enabled:!0,language:null,voice_locale:null},async:!1,settings:n(),tunings:{},partner:null,cdn:"https://cdn.userway.org/",uid:""};return window[t].ContextHolder.config=e,e}return new Promise(function(t,n){e(),"undefined"!=typeof _userway_config&&_userway_config?t(r()):setTimeout(function(){e(),t(r())},2e3)})}}();var __values=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};!function(){function e(t,n){var i,r;try{for(var o=__values(Object.keys(n)),a=o.next();!a.done;a=o.next()){var s=a.value;t.hasOwnProperty(s)&&"object"==typeof n[s]?e(t[s],n[s]):t[s]=n[s]}}catch(e){i={error:e}}finally{try{a&&!a.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return t}window.UserWayWidgetApp.addLib("context_setter_on_prem").buildOnPremConfig=function(){var t={tunings:{widget_icon_type:"1",widget_icon_size:"large",widget_sounds:!0,widget_position:"1",widget_position_mobile:"1",widget_color:"#2d68ff",widget_language:"",widget_live_language_enabled:!0,widget_custom_trigger_enabled:!1,widget_headless:!1,widget_move_hidden:!1,site_name:"",accessibility_url:"",accessibility_link_text:"",accessibility_link_enabled:"",widget_no_report:!0,widget_no_manage:!0,widget_no_logo:!0},services:{siteId:1,userId:1,paidAi:!0,partner:"undefined"},remediationV2:{strategy:"AUTO",consolidated:null,perSiteRemediation:{enabled:!1,resources:null},alt:{enabled:!1,config:{}},vagueLinks:{enabled:!0,config:{}},headings:{enabled:!0,config:{}},forms:{enabled:!0,config:{}},moderator:{enabled:!1,config:{}},externalLinks:{enabled:!0,config:{}},brokenLinks:{enabled:!1,config:{}},identicalTargets:{enabled:!0,config:{}},customFocus:{enabled:!1,config:{}},ariaEditor:{enabled:!1,config:{}},contrast:{enabled:!0,config:{path:null,autofix:!1}},emptyControls:{enabled:!0,config:{}},language:{enabled:!0,config:{}},pdf:{enabled:!1,config:{}},skipLinks:{enabled:!0,config:{anchorSelector:null}},navigationMenu:{enabled:!0,config:{}},popups:{enabled:!0,config:{}},metaViewport:{enabled:!0,config:{}},commonSettings:{enabled:!0,config:{mobile:{enabled:!0},disabledPages:[]}},labs:{enabled:!0,config:{}},slickSlider:{enabled:!0,config:{}},title:{enabled:!1,config:{}}},speechSynthesisEnabled:"undefined"!=typeof speechSynthesis};try{return"undefined"!=typeof _uw_pr_config&&_uw_pr_config?e(t,_uw_pr_config):t}catch(e){return console.error(e),t}}}(),function(){function e(e){var t=r.find(function(t){return t.element===e});return t||(t=new a(e),r.push(t)),t}function t(t,n,i){try{var r=e(t);r.applyStyles(i,n),r.element.setAttribute("data-"+n+"-styled",!0)}catch(e){!!console.log&&console.log("applyInlineStyles error. Element: "+t)}}function n(t,n,i){try{var r=e(t);r.resetStyles(i,n),r.element.removeAttribute("data-"+n+"-styled")}catch(e){!!console.log&&console.log("resetInlineStyles error. Element: "+t)}}var i=window.UserWayWidgetApp.addLib("inlineStyling");i.featureStyles={highlinks:{inlineStyles:{"text-decoration":"underline",color:"#ffff00","background-color":"#000000"},inlineImgStyles:{"box-sizing":"border-box",border:"1px solid #ffff00"},svgStyle:{"background-color":"#000000",fill:"#ffff00"}},contrast:{dark:{key:"userway-s3-2",forATag:{"background-color":"#000000","border-color":"#ffffff",color:"#fcff3c",svg:{"background-color":"#000000",fill:"#fcff3c"}},normal:{"background-color":"#000000","border-color":"#ffffff",color:"#50d0a0"},svgImg:{"background-color":"#000000",fill:"#ffffff"}},light:{key:"userway-s3-3",forATag:{"background-color":"#ffffff","border-color":"#000000",color:"#0000D3",svg:{"background-color":"#ffffff",fill:"#0000D3"}},normal:{"background-color":"#ffffff","border-color":"#000000",color:"#000000"},svgImg:{"background-color":"#ffffff",fill:"#000000"}}}};var r=[],o={"userway-s6":["userway-s3-2","userway-s3-3","uw-sr","data-uw-rm-color-contrast"],"userway-s3-2":["userway-s6","uw-sr","data-uw-rm-color-contrast"],"userway-s3-3":["userway-s6","uw-sr","data-uw-rm-color-contrast"],"uw-sr":["userway-s3-2","userway-s3-3","userway-s6","data-uw-rm-color-contrast"],"data-uw-rm-color-contrast":["userway-s6","userway-s3-2","userway-s3-3","uw-sr"]},a=function(){function e(e){this.element=e,this.initialStylesText=e.style.cssText,this.initialStyles=this.parseStylesToObject(e),this.listOfApplyiedStylesKeys=[],this.appliedStyles={},this.appliedStylesByFeature={},this.transition=window.getComputedStyle(this.element).getPropertyValue("transition")}return e.prototype.parseStylesToObject=function(e){var t=e.style.cssText.split(";"),n={};return t.splice(t.length-1,1),t.forEach(function(e){var t=e.substring(0,e.indexOf(":")).trim(),i=e.substring(e.indexOf(":")+1);i=i?i.trim():null,n[t]=i}),n},e.prototype.addStyleToAppliedListKeys=function(e){this.listOfApplyiedStylesKeys.unshift(e)},e.prototype.removeStyleFromAppliedListKeys=function(e){var t=this.listOfApplyiedStylesKeys.indexOf(e);-1!==t&&this.listOfApplyiedStylesKeys.splice(t,1)},e.prototype.removeStyleFromAppliedStylesByFeature=function(e){delete this.appliedStylesByFeature[e]},e.prototype.resetStylesToInitial=function(){this.element.style.cssText=this.initialStylesText},e.prototype.applyStyles=function(e,t){var n=this;this.appliedStylesByFeature[t]=e,e&&(Object.keys(e).forEach(function(i){var r,o;n.appliedStyles[i]={featureThatApply:t,value:e[i],oldValue:{value:null===(r=n.initialStyles[i])||void 0===r?void 0:r.replace("!important",""),isImportant:null===(o=n.initialStyles[i])||void 0===o?void 0:o.includes("important")}},n.element.style.setProperty(i,e[i],"important"),n.element.style.setProperty("transition",n.transition)}),-1===this.listOfApplyiedStylesKeys.indexOf(t)&&this.addStyleToAppliedListKeys(t))},e.prototype.resetStyles=function(e,t){var n=this;Object.keys(e).forEach(function(e){var i;if(n.appliedStyles[e]&&n.appliedStyles[e].featureThatApply===t){n.element.style.setProperty("transition","all 0s ease 0s");var r=n.appliedStyles[e].oldValue,o=null!==(i=r.value)&&void 0!==i?i:"",a=r.isImportant?"important":"";n.element.style.setProperty(e,o,a),delete n.appliedStyles[e];if("background-color"===e||"background"===e){var s=n.initialStyles.background&&"background"||n.initialStyles["background-color"]&&"background-color";if(!s)return;var l=n.initialStyles[s].split("!");l.length>=2?n.element.style.setProperty(s,l[0].trim(),"important"):n.element.style.setProperty(s,n.initialStyles[s])}}}),this.removeStyleFromAppliedListKeys(t),this.removeStyleFromAppliedStylesByFeature(t),o[t]&&this.listOfApplyiedStylesKeys.length&&o[t].forEach(function(e){var t=n.listOfApplyiedStylesKeys.find(function(t){return t===e});if(t){var i=n.getStylesForFeature(t);if(i&&n.applyStyles(i,t),window.location.pathname===atob("L3dwcy9wb3J0YWwvUHJlcGFpZENhcmRTZWxmQ2FyZQ==")){var r={"background-image":"none"};n.applyStyles(r,atob("dXctcmFrYmFuay1maXg="))}}})},e.prototype.getStylesForFeature=function(e){var t;switch(e){case"userway-s3-2":case"userway-s3-3":var n="userway-s3-2"===e?"dark":"light";t="A"===this.element.tagName?i.featureStyles.contrast[n].forATag:i.featureStyles.contrast[n].normal;break;case"userway-s6":t="IMG"===this.element.tagName?i.featureStyles.highlinks.inlineImgStyles:i.featureStyles.highlinks.inlineStyles;break;default:t=this.appliedStylesByFeature[e]}return t},e}();i.applyInlineStyles=t,i.resetInlineStyles=n}(),function(){function e(){r=!0;var o=[],a=[];i.emitEvent(n.IS_MOUSE_USER_EVENT,[window[t].ContextHolder.config,o,a]),document.removeEventListener("mousemove",e)}var t="UserWayWidgetApp",n=window[t].addLib("user_input_type"),i=window[t].getLib("event_emitter"),r=!1;n.IS_MOUSE_USER_EVENT="IS_MOUSE_USER",document.addEventListener("mousemove",e)}();var __values=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};!function(){function e(){var e=p.config,i=n();i.filter(function(e){return e}),v=i[1],(!y||p.config.services.MODIFY_MENU&&-1===p.config.services.MODIFY_MENU.features_pattern.split("|").indexOf("s11"))&&(i=i.filter(function(e){return e.id!==W.openNavMenu}));var r=t();r.setAttribute("aria-label",E(e.language,"skip_links.title")||"Quick Accessibility Options"),i.forEach(function(e,t){var n=document.createElement("button");n.className="uw-sl__item",n.setAttribute("data-uw-rm-ignore","true"),n.setAttribute("data-uw-ignore-translate","true"),n.setAttribute("lang",e.language),n.id=e.id;var i=document.createElement("span");i.className="uw-sl__item__left",i.setAttribute("data-uw-ignore-translate","true");var a=document.createElement("span");a.className="uw-sl__item__img",a.innerHTML=e.img,i.appendChild(a);var s=document.createElement("span");s.className="uw-sl__item__title",s.setAttribute("data-uw-ignore-s17",""),s.setAttribute("data-uw-rm-ignore","true"),s.setAttribute("data-uw-ignore-translate","true");var l=c()&&e.altTitle?e.altTitle:e.title;s.innerHTML=l,i.appendChild(s),n.appendChild(i);var u=document.createElement("span");u.className="uw-sl__e-icon",u.innerHTML='',n.appendChild(u),n.addEventListener("click",function(t){e.handler();var i=c()&&e.altTitle?e.altTitle:e.title;e.altTitle&&(s.innerHTML=i),n.blur()}),n.addEventListener("keydown",function(e){"Escape"!==e.code&&27!==e.keyCode&&27!==e.which||(n.blur(),o())}),e.focusHandler&&n.addEventListener("focus",e.focusHandler),r.appendChild(n)})}function t(){var e=document.querySelector('div.uw-sl[role="region"]');if(!e){e=document.createElement("div"),e.className="uw-sl",e.setAttribute("role","region"),e.setAttribute("data-uw-rm-ignore","true"),e.setAttribute("data-uw-ignore-translate","true"),e.addEventListener("focus",r,!0);var t=document.getElementById("gatsby-focus-wrapper");if(t){var n=function(n){var r,o;try{for(var a=__values(n),s=a.next();!s.done;s=a.next()){var l=s.value;if("childList"===l.type){Array.from(l.removedNodes).find(function(t){return t==e})&&(t.insertBefore(e,t.firstChild),i.disconnect())}}}catch(e){r={error:e}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}},i=new MutationObserver(n);i.observe(t,{attributes:!1,childList:!0,subtree:!0}),t.insertBefore(e,t.firstChild)}else{var o=document.body;o.insertBefore(e,o.firstChild)}}return e.innerHTML="",e}function n(){var e=p.config,t={title:E(e.language,"skip_links.title")||"Quick Accessibility Options",skip:E(e.language,"skip_links.skip")||"Skip to main content",enable_visually_impaired:E(e.language,"skip_links.enable_visually_impaired")||"Enable accessibility for low vision",disable_visually_impaired:E(e.language,"skip_links.disable_visually_impaired")||"Disable accessibility for low vision",open_accessibility_menu:E(e.language,"skip_links.open_accessibility_menu")||"Open the accessibility menu"};return[{id:W.skipToMain,language:e.language,title:t.skip,img:'',handler:a},{id:W.visibility,language:e.language,title:t.enable_visually_impaired,altTitle:t.disable_visually_impaired,img:'',handler:d,focusHandler:function(){p.preloadIframe()}},{id:W.openWidget,language:e.language,title:t.open_accessibility_menu,img:'',handler:i}]}function i(){p.openWidget(),f(T.OPEN_WIDGET),o()}function r(e){O||(f(T.OPEN_LINKS),O=!0),"uw-enable-visibility"===e.target.id&&g(),setTimeout(function(){if(x)return o()},1)}function o(){ var e=document.querySelector("body");e.hasAttribute("tabindex")||(e.setAttribute("tabindex","-1"),setTimeout(function(){e.removeAttribute("tabindex")},0)),e.focus({preventScroll:!0})}function a(){var e=l()||document.querySelector(w);e.getAttribute("tabindex")||e.setAttribute("tabindex","-1"),f(T.SKIP_TO_MAIN_CONTENT),setTimeout(function(){e.focus(),_.scrollToElementWithOffset(e,70)},300)}function s(e){for(var t=e,n=null;t&&"BODY"!==t.tagName&&(!(n=t.nextElementSibling)||!_.validateElementAccessibility(n));)t=t.parentElement;return n}function l(){for(var e,t=0;t<=b.length-1;t++){var n=document.querySelector(b[t]);if(n&&(('[role="main"]'!==b[t]||"BODY"!==n.tagName)&&_.isElementVisible(n))){e='[role="navigation"]'===b[t]||"nav"===b[t]?s(n):n;break}}return e||u()}function u(){return A.ElementsWithText.getElementsWithText(document).find(function(e){if((-1!==e.classList.value.search(/main/)||-1!==e.classList.value.search(/title/)||-1!==e.classList.value.search(/header/))&&_.validateElementAccessibility(e)&&e.hasAttribute("data-uw-rm-ignore"))return e})}function c(){return p.getAvailableBunchOfFeatures().every(function(e){return p.config.settings["userway-"+e].value})}function d(){if(c()){if(p.isSoundEffectsEnabled())try{var e=new Audio(p.config.cdn+"widgetapp/sounds/reset.mp3");e.play()}catch(e){}_.postMessage({action:"updateVisuallyImpairedState",config:!1})}else{if(p.isSoundEffectsEnabled())try{var e=new Audio(p.config.cdn+"widgetapp/sounds/viEnabled.mp3");e.play()}catch(e){}_.postMessage({action:"updateVisuallyImpairedState",config:!0}),setTimeout(function(){document.querySelector(".uai").focus();var e=document.querySelectorAll(".uw-sl__item")[1];e.focus(),e.blur()},10)}f(T.VISUALLY_IMPAIRED)}function g(){var e=document.querySelector("#uw-enable-visibility .uw-sl__item__title[data-uw-rm-ignore]"),t=document.querySelector("#uw-enable-visibility.uw-sl__item"),i=n()[1];t&&e&&i.altTitle&&(e.innerHTML=c()?i.altTitle:i.title)}function f(e){var t={account:p.config.account,feat:"s22",siteId:p.config.services.siteId,state:e,uid:p.config.uid,type:p.config.services.paidAi?"paid":"free",widgetType:p.config.widgetLayout||p.config.tunings.widget_layout,real:!0},n=atob("eExxdFhtQVRSdw=="),i=UserWayWidgetApp.ContextHolder.config.account;p.config.onPrem||n!==i&&_.request({method:"POST",url:L+"/v1/stats/enabled-feature",body:t,header:{"Content-Type":"application/json"}}).then(function(e){},function(e){console.warn("Statistics error")})}var p,y,v,m=UserWayWidgetApp.addLib("skip_links"),h="#uw_skip_to_main_content_anchor",w="#userwayAccessibilityIcon",b=["main","h1","nav",'[role="navigation"]','[role="main"]',"h2","h3","h4","h5","h6"],_=UserWayWidgetApp.getLib("util"),S=UserWayWidgetApp.getLib("localization_manager"),E=S.translate,A=UserWayWidgetApp.getLib("helpers"),L="https://api.userway.org/api",T={OPEN_LINKS:1,SKIP_TO_MAIN_CONTENT:2,VISUALLY_IMPAIRED:3,OPEN_WIDGET:4,PAGE_STRUCTURE:5},W={skipToMain:"uw-skip-to-main",visibility:"uw-enable-visibility",openWidget:"uw-open-accessibility",openNavMenu:"uw-open-nav-menu"},x=!1,O=!1;m.insert=function(){var t,n;p=UserWayWidgetApp.addLib("main"),y=p.config.services&&p.config.services.paidAi;var i=UserWayWidgetApp.getLib("remediationConfig")?UserWayWidgetApp.getLib("remediationConfig").skipLinks:null;(null===i||void 0===i?void 0:i.enabled)&&((null===(t=null===i||void 0===i?void 0:i.config)||void 0===t?void 0:t.anchorSelector)&&(h=null===(n=null===i||void 0===i?void 0:i.config)||void 0===n?void 0:n.anchorSelector),b.unshift(h),e(),document.addEventListener("click",function(){x=!0,setTimeout(function(){x=!1},300)}))},m.updateLinks=function(){_.isMobile()||setTimeout(function(){return e()},500)}}();var StatusType;!function(e){e.MISSING="CONTRIB_MISSING",e.PRESENT="CONTRIB_PRESENT"}(StatusType||(StatusType={})),function(){var e="UserWayWidgetApp",t=window[e].addLib("scan_manager"),n=window[e].getLib("util"),i="https://cdn.userway.org/",r="widgetapp/2025-05-19-09-38-47/scan/scan_1747647527153.js";t.run=function(){var i=window[e].ContextHolder.config;i.onPrem||setTimeout(function(){if(!i.services||81434!==i.services.userId){var r=i.tunings&&!!i.tunings.widget_scan_url_params;if(!(location.href&&(location.href.indexOf("?")>-1||location.href.indexOf("&")>-1))||r){var o=i.remediation?"WIDGET_ON":"WIDGET_OFF";"fetch"in window&&(window[e].ContextHolder.config.scanPage=!0,fetch("https://api.userway.org/api/a11y-data/v0/page/"+encodeURIComponent(location.href)+"/"+(n.isMobile()?"MOBILE":"DESKTOP")+"/"+o+"/status").then(function(e){try{e.json().then(function(e){var n;e.payload&&(null===(n=e.payload)||void 0===n?void 0:n.status)===StatusType.MISSING&&t.loadAndExecScan()})}catch(e){}}))}}},5e3)},t.accessibilityScore=function(){return new Promise(function(t,o){var a,s,l,u="v2"==(null===(l=null===(s=null===(a=window[e].ContextHolder)||void 0===a?void 0:a.config)||void 0===s?void 0:s.tunings)||void 0===l?void 0:l.ruleBaseVersion);window[e].ContextHolder.config.scanPage=!1;var c=window[e].getLib("scan_helper");u?n.execJs(i+"scanner/2025-05-19-09-38-47/scanner.js","sha256-b4tON/wpsEj+g2ZJyz8r3DU8VCtoiSKxG8oV/pq4CeI=").then(function(e){t(e)}):(null===c||void 0===c?void 0:c.scan)?c.scan().then(function(e){t(e)}):n.execJs(i+r,"sha256-32SWomRwCTVfX5mgL9NpmKDQe9FRxzyuFxa/tqOpdrU=").then(function(){var n=window[e].getLib("scan_helper");null===n||void 0===n||n.scan().then(function(e){t(e)})})})},t.loadAndExecScan=function(){var t,o,a;"v2"==(null===(a=null===(o=null===(t=window[e].ContextHolder)||void 0===t?void 0:t.config)||void 0===o?void 0:o.tunings)||void 0===a?void 0:a.ruleBaseVersion)?n.execJs(i+"scanner/2025-05-19-09-38-47/scanner.js","sha256-b4tON/wpsEj+g2ZJyz8r3DU8VCtoiSKxG8oV/pq4CeI="):n.execJs(i+r,"sha256-32SWomRwCTVfX5mgL9NpmKDQe9FRxzyuFxa/tqOpdrU=").then(function(){window[e].getLib("scan_helper").scan()})}}();var FuncKeys;!function(e){e.altKey="altKey",e.ctrlKey="ctrlKey",e.shiftKey="shiftKey"}(FuncKeys||(FuncKeys={}));var DEFAULT_OPEN_HOTKEY=[FuncKeys.ctrlKey,"KeyU"];!function(){var e=UserWayWidgetApp.addLib("WIDGET_HOTKEYS"),t=UserWayWidgetApp.getLib("main"),n=function(){var e,n,i=JSON.parse((null===(n=null===(e=t.config)||void 0===e?void 0:e.tunings)||void 0===n?void 0:n.widget_open_hotkey)||"null");return i&&(i=i.filter(Boolean)),(null===i||void 0===i?void 0:i.length)>=2?i:DEFAULT_OPEN_HOTKEY};e.isHotkeyToOpenWidget=function(e){return n().every(function(t){return e.code===t||e[t]})}}(),function(){function e(e,n){if(n.length){if(n[0]&&n[0].id&&"string"==typeof n[0].id&&n[0].id.indexOf("powered_by_pixle")>-1)return;t()}}function t(){try{var e=[];r.forEach(function(t){switch(t.type){case"QUERY_SELECTOR":t.data.forEach(function(t){document.querySelector(t.s)&&e.push(t.id)})}}),e.length&&i(e)}catch(e){}}function n(){try{setTimeout(function(){r.forEach(function(e){switch(e.type){case"FUNCTION":e.data.forEach(function(e){var t=Function(e.s)();if(t&&t.length){var n={method:"POST",url:u+"/v1/helper/ss/hashed",header:{"Content-Type":"application/json"},body:{names:t,site:location.host}};l.request(n)}})}})},5e3)}catch(e){}}function i(e){var t={host:location.host,pathname:location.pathname};e.forEach(function(e){l.request({method:"POST",url:u+"/remediation/common-patterns/collector/"+e,header:{"Content-Type":"application/json"},body:t})})}var r,o=UserWayWidgetApp.addLib("cpr_usage_detector"),a=UserWayWidgetApp.getLib("event_emitter"),s=UserWayWidgetApp.getLib("dom_observer"),l=UserWayWidgetApp.getLib("util"),u="https://api.userway.org/api";o.run=function(){var i,o;(r=null===(o=null===(i=UserWayWidgetApp.ContextHolder)||void 0===i?void 0:i.config)||void 0===o?void 0:o.cpr)&&(n(),t(),a.on(s.DOM_OBSERVER_DOM_CHANGED_EVENT,e))}}(),function(){function e(e,n,i,r){void 0===r&&(r="");var o=(e+(r?"-"+r:"")).toLowerCase(),a=function(a){a.some(function(t){var i=t.lang,a=t.name,s=i.toLowerCase(),l=a.includes(n),u=r?s===o:s.startsWith(e.toLowerCase());return l&&u})&&t(e,n,i,r)},s=function(){var e=window.speechSynthesis.getVoices();e.length&&a(e)};try{window.speechSynthesis.addEventListener("voiceschanged",s),s()}catch(e){c.logger.error("Error checking system voices:",e)}}function t(e,t,n,i){d.push({ttsVoiceName:t,ttsLangIsoCode:e,ttsLocaleIsoCode:i,fallback:n,toLocaleStr:function(){return e+i?"-"+i:""}})}function n(e){if(e)return!!o(e,!1);var t=document.getElementsByTagName("html")[0];return!!o((null===t||void 0===t?void 0:t.getAttribute("lang"))||(null===t||void 0===t?void 0:t.getAttribute("xml:lang")))}function i(){var e=document.getElementsByTagName("html")[0],t=(null===e||void 0===e?void 0:e.getAttribute("lang"))||(null===e||void 0===e?void 0:e.getAttribute("xml:lang")),n=o(t);n&&c.execForDocumentAndIframes(function(){var e=this.getElementsByTagName("html")[0];!((null===e||void 0===e?void 0:e.getAttribute("lang"))||(null===e||void 0===e?void 0:e.getAttribute("xml:lang")))&&(null===e||void 0===e||e.setAttribute("lang",n.toLocaleStr()))})}function r(e){var t,n=Array.from(e.ownerDocument.querySelectorAll("*[lang]")),i=s("en");try{if(1===n.length&&"HTML"===n[0].tagName){return o(null===(t=n[0])||void 0===t?void 0:t.getAttribute("lang"),!1)||i}for(var r=e,a=null;r&&!(a=o(r&&"function"==typeof r.getAttribute?r.getAttribute("lang"):null,!1))&&"HTML"!==r.tagName;)r=r.parentElement;return a||i}catch(e){return console.warn(e),i}}function o(e,t){if(void 0===t&&(t=!0),!e)return null;var n=c.formatLangCode(e);n.toLowerCase().includes("zh")&&n.toLowerCase().includes("hans")&&(n="zh"),n.includes("zh-")&&(n="zh-Hant");var i=n.slice(0,2),r=n.slice(2),s=a(i,r);if(!s&&t){var l=document.querySelector("html");return o((null===l||void 0===l?void 0:l.getAttribute("lang"))||(null===l||void 0===l?void 0:l.getAttribute("xml:lang"))||null,!1)}return s}function a(e,t){var n=d.find(function(n){return n.ttsLangIsoCode===e&&n.ttsLocaleIsoCode===t.replace("-","")});return(null!==n&&void 0!==n?n:s(e))||null}function s(e){return d.find(function(t){return t.ttsLangIsoCode===e&&t.fallback})}var l="UserWayWidgetApp",u=window[l].addLib("tts-language-resolver"),c=window[l].getLib("util"),d=[];u.getLocaleForText=o,u.getLocaleForElement=r,u.isAvailableWithPreferedLanguage=n,u.enrichDomWithPreferableLanguage=i,t("en","US English Female",!1,""),t("en","US English Female",!1,""),t("en","US English Female",!0,"US"),t("en","Australian Female",!1,"AU"),t("en","UK English Female",!1,"GB"),t("ru","Russian Female",!0,""),t("ar","Arabic Female",!0,""),t("cs","Czech Female",!0,""),t("el","Greek Female",!0,""),t("es","Spanish Female",!0,""),t("fr","French Female",!0,""),t("hi","Hindi Female",!0,""),t("it","Italian Female",!0,""),t("ja","Japanese Male",!0,""),t("ko","Korean Female",!0,""),t("nl","Dutch Female",!0,""),t("pl","Polish Female",!0,""),t("pt","Portuguese Female",!0,""),t("pt","Brazilian Portuguese Female",!1,"BR"),t("ro","Romanian Female",!0,""),t("sv","Swedish Female",!0,""),t("tr","Turkish Female",!0,""),t("uk","Ukrainian Female",!0,""),t("ua","Ukrainian Female",!0,""),t("zh","Chinese Female",!0,""),t("zh","Chinese (Hong Kong) Male",!0,"Hant"),t("in","Indonesian Female",!0,""),t("id","Indonesian Female",!0,""),t("no","Norwegian Female",!0,""),t("nb","Norwegian Female",!0,"NO"),t("sk","Slovak Female",!0,""),t("ta","Tamil Male",!0,""),t("th","Thai Female",!0,""),t("sq","Albanian Male",!0,""),t("ca","Catalan Male",!0,""),t("hr","Croatian Male",!0,""),t("da","Danish Female",!0,""),t("fi","Finnish Female",!0,""),t("hu","Hungarian Female",!0,""),t("is","Icelandic Male",!0,""),t("lv","Latvian Male",!0,""),t("mk","Macedonian Male",!0,""),t("sr","Serbian Male",!0,""),t("vi","Vietnamese Male",!0,""),t("de","Deutsch Female",!0,""),t("mg","Montenegrin Male",!0,""),t("fo","Faroese custom",!0,""),e("he","Carmit",!0,""),e("he","Microsoft Asaf - Hebrew (Israel)",!0,"")}(),function(){function e(e){var t=void 0===e?{pageLanguage:"",widgetLanguage:""}:e,n=t.pageLanguage,r=t.widgetLanguage;return i.isAvailableWithPreferedLanguage(n)&&i.isAvailableWithPreferedLanguage(r)}var t="UserWayWidgetApp",n=window[t].addLib("tts-reader-status"),i=window[t].getLib("tts-language-resolver");n.isAvailable=e}();var userwaySupportedLanguages=["en-US","az","ar","bn","bg","zh","zh-Hant","hr","cs","nl","en-AU","en","en-GB","et","fi","fo","fr","ka","de","el","he","hi","hu","it","id","ja","ko","lt","lv","mgo","no","fa","pl","pt-BR","pt","pa","ro","ru","sk","sl","sr","sr-Latn","es","es-MX","sv","tr","uk","cy","vi","da","ceb","haw","tl","th","sm","ca","ht","ilo","ps","prs","eu","hmn","hy"],userwayMapToSupportedLanguages={in:"id",ua:"uk",nb:"no","zh-TW":"zh-Hant",en:"en-US"},userwaySupportedLocales=["en-US","en-AU","en-GB","pt-BR","es-MX","zh-Hant","sr-Latn"],USERWAY_DEFAULT_FALLBACK_LANGUAGE="en-US",getUserwaySupportedLanguage=function(e){return userwayMapToSupportedLanguages[e]?userwayMapToSupportedLanguages[e]:(e.indexOf("-")>-1&&(e=e.substring(0,e.indexOf("-"))),userwaySupportedLanguages.includes(e)?e:null)},SITE_LANGUAGE_FROM_SCRIPT="site-language",userwaySupports=function(e){return userwaySupportedLanguages.includes(e)},formatLangCode=function(e){return/([-_,])/.test(e)?e.replace(/(^\w+)([-_,])(\w+$)/,function(e,t,n,i){return t.toLowerCase()+"-"+i.toUpperCase()}):e.toLowerCase()};!function(){var e=UserWayWidgetApp.getLib("util"),t=function(){try{var t=e.getProperty("userway-selectedLang",!1);return userwaySupports(t)?t:null}catch(e){return console.warn("Unable to resolve persisted in the local storage language",e),null}},n=function(e){try{if(void 0!==UserWayWidgetApp.ContextHolder.config._userway_config){var t=e;if(t){if(userwaySupports(t))return t;var n=getUserwaySupportedLanguage(t);return n||null}}}catch(e){console.warn("Unable to resolve language set as hardcoded config in the UserWay embed script",e)}return null},i=function(){var e;return n(null===(e=UserWayWidgetApp.ContextHolder.config._userway_config)||void 0===e?void 0:e.language)},r=function(){var e,t,i,r=UserWayWidgetApp.ContextHolder.config;return(null===(t=null===(e=null===r||void 0===r?void 0:r.services)||void 0===e?void 0:e.LIVE_TRANSLATIONS)||void 0===t?void 0:t.is_enabled)?n(null===(i=r._userway_config)||void 0===i?void 0:i[SITE_LANGUAGE_FROM_SCRIPT]):null},o=function(){try{var e=document.getElementsByTagName("html")[0],t=e.getAttribute("lang")||e.getAttribute("xml:lang");if(!t)return null;if(t.toLowerCase().includes("zh")&&t.toLowerCase().includes("hans"))return"zh";if(t.includes("zh-"))return"zh-Hant";if(t.includes("sr-"))return"sr-Latn";var n=formatLangCode(t);return userwaySupportedLocales.includes(n)||(n=n.split("-")[0]),userwayMapToSupportedLanguages[n]&&(n=userwayMapToSupportedLanguages[n]),userwaySupports(n)?n:null}catch(e){return console.warn("Unable to parse page html lang attribute",e),null}},a=function(e){return void 0===e&&(e={ownerLangSelection:""}),t()||i()||e.ownerLangSelection||o()||USERWAY_DEFAULT_FALLBACK_LANGUAGE},s=function(e){void 0===e&&(e={ownerLangSelection:""});var n=t();return!!n&&n===(i()||e.ownerLangSelection||o()||USERWAY_DEFAULT_FALLBACK_LANGUAGE)},l=UserWayWidgetApp.addLib("widget_language_resolver");Object.assign(l,{resolve:a,resolveUserLangSelection:t,resolveOwnerLangHardcoded:i,resolvePageLangAttribute:o,resolveLanguageOnScript:r,userLandSelectionIsDefaultLangSelected:s})}();var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(e){for(var t,n=1,i=arguments.length;n=e.successMatches}})}({flag:"b1",successMatches:2,test:function(e){return[r.isTab,r.isArrowLeft,r.isArrowRight].some(function(t){return t(e)})}}),e);n.start=function(){a()||l()||document.addEventListener("keydown",s)},n.stop=function(){document.removeEventListener("keydown",s)};var a=function(){var e=atob("eExxdFhtQVRSdw=="),t=UserWayWidgetApp.ContextHolder.config.account,n=UserWayWidgetApp.ContextHolder.config.services.siteId;return e===t||!n},s=function(e){var i=o[t.KeyboardUser];i.test(e)&&(i.addMatch(),i.isFullyMatched()&&(n.stop(),c(i.flag).then(u).catch(n.start)))},l=function(){try{var e=localStorage.getItem("recognizedUserBehavior");return!!JSON.parse(e)}catch(e){return!1}},u=function(){localStorage.setItem("recognizedUserBehavior",JSON.stringify(!0))},c=function(e){var t=UserWayWidgetApp.ContextHolder.config,n=t.account,r=t.uid,o=t.widgetLayout,a=t.tunings,s=t.services,l=s.siteId,u=s.paidAi;return i.request({method:"POST",url:"https://api.userway.org/api/v1/stats/enabled-feature",header:{"Content-Type":"application/json"},body:{account:n,siteId:l,uid:r,type:u?"paid":"free",widgetType:o||a.widget_layout,feat:e,real:!0}})}}(),function(){var e=UserWayWidgetApp.addLib("REMEDIATION_BUNDLE_CONFIG"),t=UserWayWidgetApp.getLib("util"),n="https://cdn.userway.org/",i=function(e,i){UserWayWidgetApp.ContextHolder.remediationModulePromise.then(function(){t.execJs(n+e,i)})};e.configureRemediation=function(){var e,r,o=UserWayWidgetApp.ContextHolder.config,a=o.remediation,s=o.tunings;a||t.fireUserWayRemediationCompletedEvent({enabled:!1});var l=null===(e=null===a||void 0===a?void 0:a.commonSettings)||void 0===e?void 0:e.enabled,u=!l&&(null===(r=null===o||void 0===o?void 0:o.services)||void 0===r?void 0:r.paidAi);UserWayWidgetApp.ContextHolder.remediationModulePromise=t.execJs(n+"widgetapp/2025-05-19-09-38-47/remediation/remediation_1747647527153.js","sha256-WeF4lG3kOPoWOgV5PQb9IHNVwT2/el1l1fpyY8jGcow="),UserWayWidgetApp.addLib("remediationConfig",a),UserWayWidgetApp.ContextHolder.remediationResources=null,(l||u)&&(UserWayWidgetApp.ContextHolder.config.services.editorBuildUrl=n+"aria_editor/2025-05-19-09-38-47/index.html?v=1747647527153",l?i("remediation/2025-05-19-09-38-47/paid/remediation-tool.js?ts=1747647527153","sha256-JBfljWkAAE05ebtUzkFSuaNYQYLkrZDTzVv2WolDTT8="):u?i("remediation/2025-05-19-09-38-47/contrast/remediation-tool-contrast.js?ts=1747647527153","sha256-aTUKRpSULtlX4ioOIcSOdFHe7B7JuLuIweE4kBuPvgk="):s.widget_free_remediation_disable||i("remediation/2025-05-19-09-38-47/free/remediation-tool-free.js?ts=1747647527153","sha256-1nSkKhmwVw74ROXbmbejRuOtSHEnbn4rZNfLpIHnQxE="),(null===a||void 0===a?void 0:a.consolidated)&&t.request({method:"GET",url:a.consolidated}).then(function(e){e&&e.response&&(UserWayWidgetApp.ContextHolder.remediationResources=JSON.parse(e.response))},function(e){console.warn("Can't load remediation resources.")}))}}();var __assign=this&&this.__assign||function(){return __assign=Object.assign||function(e){for(var t,n=1,i=arguments.length;n0)&&!(i=o.next()).done;)a.push(i.value)}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a},__values=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},__spreadArray=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var i,r=0,o=t.length;r>e/4).toString(16)})}function i(){return!(!pt||!pt.tunings)&&(!0===pt.tunings.widget_hidden_for_site||!0===pt.tunings.widget_hidden_for_mobile&&bt.isMobile())}function r(){var e,t=Boolean(null===(e=pt.services)||void 0===e?void 0:e.paidAi),n=_userway_config.widget_layout||pt.tunings.widget_layout;return"headless"!==n||t?n:"full"}function o(){var e=r();return!e||["full","headless"].includes(e)}function a(){at=UserWayWidgetApp.getLib("nano-widget"),at.load().then(function(){at.init()})}function s(){st=UserWayWidgetApp.getLib("mini-widget"),st.load().then(function(){st.init()})}function l(){Oe(),Ct.configureRemediation(),bt.addStylesheetOnce(Vt),le(),Me(),At.initializeDomChangesObserver(),Nt.init(),Tt.run(),xt.run(),Wt.start(),We(!0),u(),window.addEventListener("message",function(e){var t=e.data||{};if(t.isUserWay&&"sendEventToGoogleAnalytics"===t.action){var n="";switch(t.state){case 0:n="disabled";break;case 1:n="enabled"}un(t.name,n)}}),Ce().then(function(){var e=r();switch((e||""===e)&&(pt.widgetLayout=e,I()),e){case"nano":a();break;case"mini":s()}})}function u(e){(null===e||void 0===e?void 0:e.enabled)&&bt.execJs(Rt+Dt,"sha256-3MwZHeSsAX1MisygSu2itL5m5zqw/7faPKYSqTmboKc=")}function c(){var e,t,n=sessionStorage.getItem("qa_widget_lst_button_enabled"),a=sessionStorage.getItem("qa_widget_lst_button_type"),s=sessionStorage.getItem("qa_widget_lst_button_icon_type");return"true"===n&&(pt.tunings.widget_lst_button_enabled=n,pt.tunings.widget_lst_button_type=a,pt.tunings.widget_lst_button_icon_type=s),i()?void le():o()?(m(),h(),w(),y(),b(),Oe(),Ct.configureRemediation(),u(pt.statistics),$(pt.services.LIVE_TRANSLATIONS,null===(t=null===(e=pt.remediation)||void 0===e?void 0:e.commonSettings)||void 0===t?void 0:t.enabled),void bt.addStylesheetOnce(Vt).then(function(){if(Ne(jt),le(),"headless"===r())UserWay.iconVisibilityOff();else{be(),q();var e=bt.getProperty(Bt),t=!bt.isMobile()&&pt.tunings.widget_position_nudge,n=bt.isMobile()&&pt.tunings.widget_position_nudge_mobile;if((t||n)&&!e)var i=setInterval(function(){document.querySelector(".userway_buttons_wrapper")&&(clearInterval(i),we())},50);M(),N()}Me(),bt.isMobile()||Lt.insert(),G(),oe(),ce(),se(),Re(),pt.partner===atob("cmFrYmFuaw==")&&window.location.pathname===atob("L3dwcy9wb3J0YWwvUHJlcGFpZENhcmRTZWxmQ2FyZQ==")&&document.querySelector("#keyboard").setAttribute("data-uw-ignore-translate",!0),At.initializeDomChangesObserver(),Nt.init(),Tt.run(),xt.run(),Wt.start(),We(!0)})):l()}function d(){var e=_userway_config["z-index"];if(void 0!==e){if(e=parseInt(e,10),isNaN(e))return void bt.logger.error("Embedded z-index is invalid");en="uwy-level";var t=document.createElement("style");t.innerHTML=".uwy."+en+"{z-index:"+e+";}",document.head.appendChild(t)}}function g(){if(!window._userway){window._userway=!0;try{localStorage&&"function"==typeof localStorage.getItem&&localStorage.getItem("debug")&&"undefined"!==localStorage.getItem("debug")&&JSON.parse(localStorage.getItem("debug"))&&ee()}catch(e){}Le(),Z(function(){if(t())return console.warn("UserWay Accessibility widget is deactivated");if(bt.isMobile()&&pt.tunings&&("false"===pt.tunings.mobile||!1===pt.tunings.mobile))console.warn("UserWay Accessibility widget is disabled on mobile devices via tunings setting");else var e=setInterval(function(){document.body&&(clearInterval(e),c())},500);d()})}}function f(){var e=bt.getItemWithExpiry("hideUWWidget"),t=sessionStorage.getItem("hideUWWidget");return e||t}function p(){return pt&&pt.tunings&&pt.tunings.hasOwnProperty("widget_sounds")&&pt.tunings.widget_sounds}function y(){window.addEventListener("keydown",v,!0)}function v(e){"Tab"!==e.key&&9!==e.keyCode&&"ArrowDown"!==e.key||UserWayWidgetApp.ContextHolder.config.services.paidAi&&UserWayWidgetApp.ContextHolder.remediationModulePromise.then(function(){window.removeEventListener("keydown",v,!0),window.postMessage({isUserWay:!0,action:"remediation",type:"app-key-nav-enabled"},"*"),document.querySelector("html").setAttribute("data-uw-w-kb","")})}function m(){window.addEventListener("keydown",L,!0)}function h(){var e,t=(null===(e=pt.services)||void 0===e?void 0:e.paidAi)||!pt.services.hasOwnProperty("paidAi"),n=pt.services.hasOwnProperty("MODIFY_MENU")&&pt.services.MODIFY_MENU.is_enabled,i=!n||-1!==pt.services.MODIFY_MENU.features_pattern.split("|").indexOf("s9");t&&i&&Ot.isAvailable({pageLanguage:pt.widgetPageLang,widgetLanguage:pt.language})&&window.addEventListener("keydown",W,!0)}function w(){window.addEventListener("keydown",T,!0)}function b(){var e=pt.services.hasOwnProperty("MODIFY_MENU")&&pt.services.MODIFY_MENU.is_enabled,t=pt.services.hasOwnProperty("VOICE_NAVIGATION")&&pt.services.VOICE_NAVIGATION.is_enabled,n=!!window.chrome,i=Boolean(navigator.userAgent.match(/safari/i));(n||i)&&t&&(!e||!pt.services.MODIFY_MENU.features_pattern.split("|").includes("s24"))&&window.addEventListener("keydown",x,!0)}function _(){var e=document.querySelector(".userway_buttons_wrapper");["top","bottom","left","right"].forEach(function(t){null===e||void 0===e||e.style.setProperty([t],null,"important")})}function S(){if(!Kt){Kt=!0;var e=function(e){var t=e.data||{};if(t.isUserWay)if("appConfigLoaded"===t.action)Zt||(H("hide"),Zt=!0),!yt&&mt&&(pe(),H("hide")),yt=!1;else if("mailToSupport"===t.action)window.open("mailto:support@userway.org","_blank");else if("download_pdf"===t.action)bt.downloadPdfFile(t.url);else if("AiPageReload"===t.action)document.location.reload();else if("openExternalLink"===t.action)try{if(!bt.isValidUrl(t.url))return;bt.openUrl(t.url)}catch(e){return}else if("getConfig"===t.action)I();else if("isWidgetOpened"===t.action)mt?bt.postMessage({action:"toggled",state:"show"}):bt.postMessage({action:"toggled",state:"hide"});else if("close"===t.action)me();else if("open"===t.action)ve();else if("manageIconVisibility"===t.action)de(t.type);else if("default_language_changed"===t.action)t.lang||bt.postMessage({action:"setHtmlLangAttribute",lang:rn||"en-US"}),window.localStorage.removeItem("userway-selectedLang"),window.localStorage.removeItem("userway-selectedSiteLang");else if("on_demand_reader"===t.action){if(t.contentToRead&&(pt.services.paidAi||!pt.services.hasOwnProperty("paidAi"))){var n=t.menuLanguage;t.contentWithPageLang&&(n=It.resolvePageLangAttribute()),Ve.readTextContent({language:n,contentToRead:t.contentToRead,isAlert:t.isAlert,readingSpeedRate:t.readingSpeedRate})}}else if("on_demand_reader_stop"===t.action)Ve.stopReading();else if("setProperties"===t.action){for(var i in t.settings)t.settings.hasOwnProperty(i)&&void 0!==pt.settings[i]&&"userway_hidden"!==i&&(pt.settings[i].value=t.settings[i].value);var r=["s101","s102","s103","s104","s105","s106","s107","s108"],o=pt.services.hasOwnProperty("MODIFY_MENU")&&pt.services.MODIFY_MENU.is_enabled;o&&t.pattern&&(pt.services.MODIFY_MENU.features_pattern=t.pattern.filter(function(e){return-1===r.indexOf(e)}).join("|")),Ae(),We()}else if("pageStructureDialog"===t.action){var a=document.activeElement,s=t.settings.tab||"headers";"links"===s?Xe.showPageStructureLinks(a):"landmarks"===s?Xe.showPageStructureLandmarks(a):Xe.showPageStructureHeaders(a)}else if("setWidgetColor"===t.action)pt.tunings.widget_color=t.color,pt.tunings.widget_color_gradient=t.gradient,N(),G();else if("setIconType"===t.action)pt.tunings.widget_icon_type=t.iconType,N();else if("setSoundEffects"===t.action)pt.tunings.widget_sounds=t.value;else if("isVisibleOnMobile"===t.action)pt.tunings.widget_hidden_for_mobile=t.value;else if("setIconSize"===t.action)pt.tunings.widget_icon_size=t.iconSize,N();else if("setWidgetLanguage"===t.action)De("enable","LIVE_TRANSLATIONS"),X(t.langCode),setTimeout(function(){C(),U()}),Lt.updateLinks();else if("loadLiveTranslationComponent"===t.action)$({is_enabled:!0},!1);else if("websiteTranslationCompleted"===t.action||"websiteTranslationReverted"===t.action)He("enable","LIVE_TRANSLATIONS"),setTimeout(function(){C(),q()});else if("setWidgetPosition"===t.action)t.byUser||(t.isMobile?bt.removeProperty(pt,zt):bt.removeProperty(pt,Bt)),t.byMoveHideSection||(pt.tunings.widget_position=t.position),be(t.byUser?t.position:null,!!t.isMobile&&t.isMobile,t.byMoveHideSection),!bt.isMobile()&&t.widget_position_nudge||bt.isMobile()&&t.widget_position_nudge_mobile?we(t):_(),t.isSetDefault&&(!bt.isMobile()&&pt.tunings.widget_position_nudge||bt.isMobile()&&pt.tunings.widget_position_nudge_mobile)&&we(),N();else if("setTimeHideWidget"===t.action)Se(t.value);else if("location_request"===t.action)bt.postMessage({action:"location_response",location:{hash:location.hash,host:location.host,hostname:location.hostname,href:location.href,origin:location.origin,pathname:location.pathname,port:location.port,protocol:location.protocol}});else if("setReaderGuidePosition"===t.action){var l=t.value;if(Be){var u="ie"===pt.browser?window.pageYOffset||document.documentElement.scrollTop:window.scrollY;l.yPos=l.yPos+u,Be.setRulerElPosition(l)}}else if("custom_trigger_update"===t.action){pt.tunings.widget_custom_trigger=t.data.selector,pt.tunings.widget_custom_trigger_enabled=t.data.enabled;var c=[].slice.call(document.querySelectorAll('[data-uw-trigger="true"]'));c.forEach(function(e){e.removeEventListener("click",te),e.removeEventListener("keypress",ne),e.removeAttribute("data-uw-trigger")});var d=Pe();d&&d.length?(window.UserWay.iconVisibilityOff(),re()):window.UserWay.iconVisibilityOn()}else if("on_demand_reader_preload"===t.action)De("preload","userway-s9"),Ve.preload().then(function(){return He("preload","userway-s9")});else if("closeVoiceNavigation"===t.action)Ee("s24",0),bt.postMessage({action:"closeVoiceNavigation"});else if("sendEventToGoogleAnalytics"===t.action){var g=0===t.state?"disabled":"enabled";un(t.name,g)}};bt.registerPostMessageListener(e)}}function E(){document.querySelectorAll("body > *:not(script):not(.uwy)").forEach(function(e){e.setAttribute("inert","")})}function A(){document.querySelectorAll("*[inert]").forEach(function(e){e.removeAttribute("inert")})}function L(e){Ut.isHotkeyToOpenWidget(e)&&(e.preventDefault(),f()?(localStorage.removeItem("hideUWWidget"),sessionStorage.removeItem("hideUWWidget"),localStorage.removeItem("hideWidget"),window.location.reload()):(ke(),ve()))}function T(e){"Space"!==e.keyCode&&32!==e.which||!e.ctrlKey||UserWay.resetAll()}function W(e){if(("Period"===e.code||"."===e.key)&&e.ctrlKey&&pt.reader.enabled){var t=window.localStorage.getItem("readerSpeed")?window.localStorage.getItem("readerSpeed"):1;t=parseInt(t,10),O(t),pt.settings["userway-s9"].value?UserWay.readPageDisable():UserWay.readPageEnable(t),bt.postMessage({action:"toggleReader"})}}function x(e){var t,n;if(("Comma"===e.code||","===e.key)&&e.ctrlKey){var i=1===(null===(n=null===(t=null===pt||void 0===pt?void 0:pt.settings)||void 0===t?void 0:t["userway-s24"])||void 0===n?void 0:n.value);Ce().then(function(){Ee("s24",i?0:1),bt.postMessage({action:i?"closeVoiceNavigation":"openVoiceNavigation"})})}}function O(e){var t=setInterval(function(){if(window.responsiveVoiceLocales){var n=window.responsiveVoiceLocales[pt.language].widget.responsive_voice,i=pt.settings["userway-s9"].value?Fe()?n.enabled_wl:n.enabled:Fe()?n.disabledScreenReader_wl:n.disabledScreenReader ;Ve.readTextContent({language:pt.language,contentToRead:i,isAlert:!1,readingSpeedRate:e}),clearInterval(t)}},50)}function I(){bt.postMessage({action:"sendConfig",data:{config:pt}})}function N(){var e,t,n=""+j(),i=""+B(),r=V();if(pt.services.LIVE_TRANSLATIONS&&(null===(e=pt.tunings)||void 0===e?void 0:e.widget_lst_button_enabled))switch(null===(t=pt.tunings)||void 0===t?void 0:t.widget_lst_button_type){case"1":P(r,i);break;case"2":P(r,i),R(n,r,i);break;default:R(n,r,i)}else R(n,r,i);k(n,r),U();var o=document.querySelector("div.uwy");bt.isMobile()||"small"===i?(o.classList.remove("uts"),o.classList.remove("utb")):("mini"===i&&o.classList.add("uts"),"large"===i&&o.classList.add("utb"))}function U(){if(UserWayWidgetApp.lazyLoaded){var e=document.querySelectorAll(".usr");document.querySelector("img.userway_check_on")||e.forEach(function(e){var t=document.createElement("IMG");t.classList.add("userway_check_on"),t.setAttribute("data-uw-rm-ignore",""),t.setAttribute("data-uw-ignore-s25",!0),t.width=18,t.height=20,t.alt="Accessibility menu is on",e.parentNode.insertBefore(t,e.nextSibling),D(t,"check_on.svg")})}}function C(){var e=function(){var e,t,i,r=""+(null===(e=pt.tunings)||void 0===e?void 0:e.widget_lst_button_icon_type);if(null===(t=pt.tunings)||void 0===t||!t.widget_lst_button_enabled||"flag"!==r){var o=it.getNameByLangCode(n),a=document.createElement("div");if(a.setAttribute("data-uw-rm-ignore",""),a.setAttribute("data-uw-ignore-translate",!0),ut&&(a.classList.add("uwaw-lang-list__circle","uwaw-lang-list__circle-"+ut),a.setAttribute("title","Auto Translation enabled: "+o),a.textContent+=ut),null===(i=pt.tunings)||void 0===i?void 0:i.widget_lst_button_enabled){var s=document.querySelector(".ulsti .usr");s.parentNode.insertBefore(a,s.nextSibling)}else{var l=document.querySelector(".uai .usr");l.parentNode.insertBefore(a,l.nextSibling)}}},t=UserWayWidgetApp.getLib("LIVE_TRANSLATIONS");if(t&&t.getCurrentLanguage){var n=t.getCurrentLanguage(),i=document.querySelector("div.uwaw-lang-list__circle");i&&i.parentNode.removeChild(i),Promise.all([function(){return it?Promise.resolve(!0):bt.execJs(Rt+"frontend/javascripts/languages.js?v=1747647527153","sha256-FRxeKnTMrPqYbInyKPj1/GDykfxOPWxmGE1aXRiMrbM=").then(function(){return it=UserWayWidgetApp.getLib("LANGUAGES"),!0}).catch(function(){return!1})}(),function(){return $t?Promise.resolve(!0):bt.addStylesheetOnce(Rt+"frontend/stylesheets/flags.css?v=1747647527153").then(function(){return $t=!0}).catch(function(){return!1})}()]).then(function(t){var i=__read(t,2),r=i[0],o=i[1];if(r&&o){ut=it.getIsoByLangCode(n||pt.language),H("hide"),n&&e();P(V(),""+B())}})}}function k(e,t){var n,i,r=document.querySelectorAll(".ups");try{for(var o=__values(r),a=o.next();!a.done;a=o.next()){var s=a.value;if(s){s.innerHTML='';var l=s.querySelector("img.si_w");F(t,s.querySelector("img.si_b"),l,"spin")}}}catch(e){n={error:e}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}}function M(){var e,t,n=""+(null===(e=pt.tunings)||void 0===e?void 0:e.widget_lst_button_icon_type);if((null===(t=pt.tunings)||void 0===t?void 0:t.widget_lst_button_enabled)&&"flag"===n){var i=document.querySelector(".ulsti");null===i||void 0===i||i.classList.add("userway_loading")}}function P(e,t){var n,i=""+(null===(n=pt.tunings)||void 0===n?void 0:n.widget_lst_button_icon_type),r=document.querySelector(".ulsti .uiiw"),o=document.querySelector(".ulsti");r.innerHTML='';var a=document.querySelector(".ulsti img.ui_w"),s=document.querySelector(".ulsti img.ui_b");switch(i){case"characters":F(e,s,a,"characters"),s&&s.setAttribute("alt",""),a&&a.setAttribute("alt","");break;case"earth":F(e,s,a,"earth"),s&&s.setAttribute("alt",""),a&&a.setAttribute("alt","");break;case"flag":if(r.innerHTML="",ut){o.style.setProperty("box-sizing","border-box","important"),r.className="uiiw fflag fflag-"+ut+" lst-btn-flag ff-round";var l=void 0;switch(t){case"mini":l="1px";break;case"small":l="1.5px";break;case"large":l="2px"}var u='url("'+pt.cdn+"frontend/images/circle-flags/"+ut.toLowerCase()+'.svg")';r.style.setProperty("border-style","solid","important"),r.style.setProperty("border-width",l,"important"),r.style.setProperty("background-image",u,"important"),r.setAttribute("data-uw-ignore-s25",!0);var c=pt.cdn+"frontend/images/flagSprite60.png",d=new Image;d.onload=function(){var e=document.querySelector(".ulsti");null===e||void 0===e||e.classList.remove("userway_loading")},d.src=c,d.complete&&d.onload()}}}function R(e,t,n){var i=document.querySelector("div.uwy"),r=""+(_userway_config.type||pt.tunings.widget_icon_type||Mt.UW_WIDGET_ICON_TYPE),o=-1!==["4","5","6","7"].indexOf(e),a=document.querySelector(".uai .uiiw");if("4"!==r)i.classList.contains("uac")&&i.classList.remove("uac"),a.innerHTML='';else{bt.addUwStylesheetMetropolisFont(pt),i.classList.add("uac");var s=_t.translate,l=s(pt.language,"widget.text_icon_small"),u=s(pt.language,"widget.text_icon_large"),c="large"!==n||bt.isMobile()?l:u;a.innerHTML='
'+c+"
"}var d=document.querySelector(".uai img.ui_w"),g=document.querySelector(".uai img.ui_b");switch(r){case"1":F(t,g,d,"body"),g&&g.setAttribute("alt",""),d&&d.setAttribute("alt","");break;case"2":o?F(t,g,d,"wheel_right"):F(t,g,d,"wheel_left"),g&&g.setAttribute("alt",""),d&&d.setAttribute("alt","");break;case"3":F(t,g,d,"eye"),g&&g.setAttribute("alt",""),d&&d.setAttribute("alt","");break;case"6":F(t,g,d,"man_with_stick"),g&&g.setAttribute("alt",""),d&&d.setAttribute("alt","");break;case"5":F(t,g,d,"sliders"),g&&g.setAttribute("alt",""),d&&d.setAttribute("alt","");break;case"4":break;default:F(t,g,d,"body"),g&&g.setAttribute("alt",""),d&&d.setAttribute("alt","")}}function F(e,t,n,i){e&&e.isLight?D(t,i+"_bl.svg"):D(n,i+"_wh.svg")}function D(e,t){e.setAttribute("src",pt.cdn+"widgetapp/images/"+t)}function H(e){var t,n;e=void 0===e?"toggle":e;var i=[document.querySelector(".uai"),document.querySelector(".ulsti")];try{for(var r=__values(i),o=r.next();!o.done;o=r.next()){var a=o.value;"show"===e?null===a||void 0===a||a.classList.add("userway_loading"):"hide"===e?null===a||void 0===a||a.classList.remove("userway_loading"):"toggle"===e&&(null===a||void 0===a||a.classList.toggle("userway_loading"))}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}}function q(){var e,t,n,i=document.querySelector(".uai"),r=document.querySelector(".ulsti"),o=document.querySelector(".uwif"),a=(null===(e=pt.services)||void 0===e?void 0:e.CUSTOM_BRANDING)||(null===(t=pt.services)||void 0===t?void 0:t.WHITE_LABEL)||(null===(n=pt.tunings)||void 0===n?void 0:n.widget_no_logo);null===i||void 0===i||i.setAttribute("title",bt.getUserWayIconElementTitle(pt)),null===i||void 0===i||i.setAttribute("aria-label",bt.getUserWayIconElementTitle(pt)),null===r||void 0===r||r.setAttribute("title",bt.getUserWayLstIconElementTitle(pt)),null===r||void 0===r||r.setAttribute("aria-label",bt.getUserWayLstIconElementTitle(pt)),o.setAttribute("title",a?bt.getUserWayIconElementTitle(pt):"UserWay "+bt.getUserWayIconElementTitle(pt))}function V(){var e={color:Mt.UW_WIDGET_COLOR,gradient:null,isLight:!1},t=pt.color||pt.tunings.widget_color;if(t){var n=bt.hexToRgb(t.replace("#",""));e.isLight=bt.colourIsLight(n[0],n[1],n[2]),e.color=t}(pt.color||pt.tunings.widget_color_gradient&&pt.tunings.widget_color_gradient===Mt.UW_WIDGET_COLOR_GRADIENT)&&(pt.tunings.widget_color_gradient=null);var i=pt.color_gradient||pt.tunings.widget_color_gradient;return i&&(e.gradient=i),e}function j(){var e=bt.getProperty(Bt);if(e)return pt.userSpecificPosition=e,e;var t=pt.tunings.widget_position;return bt.isMobile()&&pt.tunings.widget_position_mobile&&(t=pt.tunings.widget_position_mobile),"shortpoint"===pt.services.partner?pt.position||t||"3":_userway_config.position||pt.position||t||Mt.UW_BUTTON_POSITION}function B(){return _userway_config.size||pt.size||pt.tunings.widget_icon_size||Mt.UW_WIDGET_ICON_SIZE}function z(){var e=V();if(e){var t=document.querySelector(".uw-popup-header"),n=document.querySelector(".uw-popup-header-text"),i=t.querySelector(".uw-popup-header-close-path"),r=e.gradient||e.color,o=e.isLight?"#000000":"#ffffff";t&&(bt.applyElementStyles(t,{background:r,color:o}),bt.applyElementStyles(n,{color:o})),i&&bt.applyElementStyles(i,{stroke:o})}}function G(){var e,t,n=[document.querySelector(".uai"),document.querySelector(".ulsti")],i=V(),r=i.gradient||i.color;try{for(var o=__values(n),a=o.next();!a.done;a=o.next()){var s=a.value;if(r){if(s){var l=r;if("ie"===bt.detectBrowser()){var u=""+(_userway_config.type||pt.tunings.widget_icon_type||Mt.UW_WIDGET_ICON_TYPE);4!==u&&"4"!==u||(l+=";min-width:auto!important;max-width:none!important;min-height:auto!important;max-height:none;!important")}s.style.setProperty("background",l,"important"),i.isLight?(s.classList.add("uli"),s.classList.remove("userway_dark")):(s.classList.remove("uli"),s.classList.add("userway_dark"))}var c=document.querySelector(".userway_hide_on");c&&c.style.setProperty("background",i.color,"important");var d=document.querySelector(".userway_hide_off");d&&d.style.setProperty("background",i.color,"important");var g=document.querySelector(".uhi span");g&&g.style.setProperty("background",i.color,"important")}else null===s||void 0===s||s.classList.add("userway_dark")}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}bt.postMessage({action:"setWidgetColour",payload:i||null})}function Y(){var e="fo"===pt.language&&pt.partner!==atob("ZmFyb2U=");!Ot.isAvailable({pageLanguage:pt.widgetPageLang,widgetLanguage:pt.language})||e?J():K()}function K(){pt.reader.enabled=!0,bt.postMessage({action:"screen_reader_available"})}function J(){Ve.disable(),pt.reader.enabled=!1,bt.postMessage({action:"screen_reader_not_available"})}function X(e,t){void 0===t&&(t=!1),e&&(t||bt.setProperty(pt,Gt,e),pt.tunings.widget_language=e,pt.language=e,yt=!0,rt.updateDictionaryConfigs(),t&&fe(e),Y(),"fo"===pt.language&&pt.partner!==atob("ZmFyb2U=")&&J(),_t.initializeLocale(e).finally(function(){var t=document.querySelector("div.uwy");bt.postMessage({action:"setHtmlLangAttribute",lang:e});var n={"en-US":"Our site is built for you; use it in a way that works best for you",ar:"تم تصميم موقعنا من أجلك. استخدمه بطريقة تناسبك بشكل أفضل"};t.setAttribute("title",location.hostname===atob("cmV2YW1wLnJha2JhbmsuYWU=")?n[pt.language]:bt.getUserWayIconElementTitle(pt))}))}function Q(e){pt.tunings=e.tunings,pt.services=e.services,pt.cpr=e.cpr,pt.onPrem=Ht,pt.partner=e.services&&e.services.partner?e.services.partner:null,pt.widgetPageLang=It.resolvePageLangAttribute(),pt.languageHardcoded=It.resolveOwnerLangHardcoded();var t=It.resolveLanguageOnScript();pt.widgetLayout=r();var n=null;t&&(n=t),e.tunings.widget_language&&"null"!==e.tunings.widget_language&&"auto"!==e.tunings.widget_language&&(n=e.tunings.widget_language),pt.language=It.resolve({ownerLangSelection:n}),It.userLandSelectionIsDefaultLangSelected({ownerLangSelection:n})&&bt.removeProperty(pt,Gt),function(){var t,n;pt.remediation=dn(e.remediationV2),pt.imageAlt=e.imageAlt,pt.statistics=null===(t=e.globals)||void 0===t?void 0:t.widgetRemediationStatsCollecting,pt.widgetCustomLanguages=null!==(n=e.widgetCustomLanguages)&&void 0!==n?n:[],tn.forEach(function(e){var t=pt.tunings[e];pt.tunings[e]=t?JSON.parse(t):null}),UserWayWidgetApp.ContextHolder.config=pt}(),_t.initializeLocale(pt.language).then(function(){var t=!!pt.widgetPageLang&&Ot.isAvailable({pageLanguage:pt.widgetPageLang,widgetLanguage:pt.language}),n=!Ht||e.speechSynthesisEnabled;pt.reader={enabled:t&&n}})}function Z(e){var t,n,i;if(Ht)return Q(Et.buildOnPremConfig()),UserWayWidgetApp.lazyLoaded=!0,void(e&&e());var o=null!==(t=null===_userway_config||void 0===_userway_config?void 0:_userway_config.platform)&&void 0!==t?t:null===(n=window._userway_config)||void 0===n?void 0:n.platform,a=window.location.origin;a&&"null"!==a||(a="https://inspect.userway.org");var s=pt.account===atob("eExxdFhtQVRSdw=="),l=s?{}:pt.settings,u=Object.keys(l).reduce(function(e,t){var n=t.replace("userway-",""),i=l[t].value;return i&&(e[n]=i),e},{}),c={s:u,o:a,uid:pt.uid,v:Ft,wl:r(),c:localStorage.getItem(Pt)||""};o&&(c.p=o),(null===(i=null===pt||void 0===pt?void 0:pt._userway_config)||void 0===i?void 0:i.platfAppInstalledSiteId)&&(c.pa=pt._userway_config.platfAppInstalledSiteId),pt&&(pt.account||pt.code)||(console.warn("Widget initialization error: no account/code provided. Default code will be used"),pt.account="qLb3sVM6fr",pt.defaultAccountUsed=!0),UserWayWidgetApp.getLib("tunings").getTunings(c).then(function(e){Q(e)}).catch(function(e){console.error("Initialization error: "+e.code+" - "+e.message)}).finally(function(){e&&e()})}function $(e,t){var n;e&&e.is_enabled?(De("enable","LIVE_TRANSLATIONS"),bt.execJs(Rt+"widgetapp/2025-05-19-09-38-47/translations/live_translations_1747647527153.js","sha256-1TcI2m/Rk+PPAKXlVUxqQI6MzDYXTKINE2us5NXOzGU=").then(function(){var e=UserWayWidgetApp.getLib("LIVE_TRANSLATIONS"),n=function(){return e.awaitForResources()};return new Promise(function(e){var i=function(t){He("enable","LIVE_TRANSLATIONS"),e(t)};t?document.addEventListener(bt.LIFE_CYCLE_EVENT.REMEDIATION,function(){return n().then(i)},{once:!0}):n().then(i)})}).then(function(){C()})):(null===(n=pt._userway_config)||void 0===n?void 0:n[ln])&&bt.logger.error("Automatic live site translation is not supported")}function ee(){bt.execJs(Rt+"widgetapp/2025-05-19-09-38-47/performance/performance_1747647527153.js").then(function(){var e=UserWayWidgetApp.getLib("performance_logger");ct=e.getInstance("Features")})}function te(){window.UserWay.widgetToggle()}function ne(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),window.UserWay.widgetToggle())}function ie(e){e.getAttribute("data-uw-trigger")||(e.addEventListener("click",te),e.addEventListener("keyup",ne),e.setAttribute("data-uw-trigger",!0),e.setAttribute("data-uw-ignore-s25",!0),e.setAttribute("aria-haspopup","dialog"))}function re(){var e;if((null===(e=pt._userway_config)||void 0===e?void 0:e.trigger)||pt.tunings.widget_custom_trigger_enabled){window.UserWay.iconVisibilityOff();var t=Pe();if(null===t||void 0===t?void 0:t.length)return t.forEach(ie);if(!pt.tunings.isDynamicCustomTrigger)return window.UserWay.iconVisibilityOn();var n=pt.tunings.widget_custom_trigger||pt._userway_config&&pt._userway_config.trigger,i=n&&n.startsWith("."),r=i?n:"#"+n,o=function(e){var t=e.target.closest(r);if(t){var n=i?Pe():[t];(null===n||void 0===n?void 0:n.length)&&(n.forEach(ie),gn(o),clearTimeout(a),window.UserWay.widgetToggle())}};document.body.addEventListener("click",o),document.body.addEventListener("keyup",o);var a=setTimeout(function(){var e=Pe();(null===e||void 0===e?void 0:e.length)?e.forEach(ie):window.UserWay.iconVisibilityOn(),gn(o)},gt)}}function oe(){var e,t,n,i;re(),ae();var r=document.querySelector("body"),o=[document.querySelector(".uai"),document.querySelector(".ulsti")],a=document.querySelector(".uwy"),s=(null===(n=pt.tunings)||void 0===n?void 0:n.widget_lst_button_enabled)&&2==(null===(i=pt.tunings)||void 0===i?void 0:i.widget_lst_button_type);r&&r.addEventListener("touchstart",function(e){for(var t=!1,n=e.target;n;){if(n.classList&&(n.classList.contains("uai")||n.classList.contains("uai"))){t=!0;break}n=n.parentNode}t||a.classList.remove("uo")},!!bt.supportsPassive&&{passive:!0});try{for(var l=__values(o),u=l.next();!u.done;u=l.next()){var c=u.value;!function(e){var t=!1;pt.isMobile&&(null===e||void 0===e||e.addEventListener("touchstart",function(n){if(!t&&(n.stopPropagation(),n.preventDefault(),t=!0,setTimeout(function(){t=!1},400),!n.target||"function"!=typeof n.target.closest||!n.target.closest(".uwaw-dictionary-tooltip"))){ge(s&&"userwayLstIcon"===n.currentTarget.id?an.lst:an.main),qe=e,setTimeout(function(){a.classList.add("uo")},50)}},{passive:!1})),!pt.isMobile&&(null===e||void 0===e||e.addEventListener("click",function(e){if(!(t||e.target&&"function"==typeof e.target.closest&&e.target.closest(".uwaw-dictionary-tooltip"))){ge(s&&"userwayLstIcon"===e.currentTarget.id?an.lst:an.main)}})),null===e||void 0===e||e.addEventListener("keydown",function(e){if(32===e.keyCode||13===e.keyCode){ge(s&&"userwayLstIcon"===e.currentTarget.id?an.lst:an.main)}}),null===e||void 0===e||e.addEventListener("keyup",function(e){27===e.keyCode&&me()}),null===e||void 0===e||e.addEventListener("focus",function(){ke()}),null===e||void 0===e||e.addEventListener("mouseover",function(){pt.isMobile||(clearTimeout(cn),cn=setTimeout(function(){a.classList.add("uo")},100),ke())}),null===e||void 0===e||e.addEventListener("mouseout",function(){pt.isMobile||(clearTimeout(cn),cn=setTimeout(function(){a.classList.remove("uo")},100))})}(c)}}catch(t){e={error:t}}finally{try{u&&!u.done&&(t=l.return)&&t.call(l)}finally{if(e)throw e.error}}}function ae(){new MutationObserver(function(e){return e.forEach(function(e){"lang"===e.attributeName&&Y()})}).observe(document.querySelector("html"),{attributes:!0})}function se(){bt.fireUserWayLifeCycleEvent(bt.LIFE_CYCLE_EVENT.RENDER)}function le(){try{var e=!!UserWayWidgetApp.ContextHolder&&!!UserWayWidgetApp.ContextHolder.config&&!!UserWayWidgetApp.ContextHolder.config.remediation;bt.fireUserWayLifeCycleEvent(bt.LIFE_CYCLE_EVENT.INIT,{remediationEnabled:e}),e||bt.fireUserWayRemediationCompletedEvent({enabled:!1})}catch(e){}}function ue(e,t,n){void 0===n&&(n=null);var i=n?{state:n}:null;bt.fireUserWayLifeCycleEvent(e+t,i)}function ce(){try{var e=window.location.hash.substr(1);if(e&&e.toLowerCase()===kt||_userway_config.forceOpen)return location.hash=kt,ve();if(new RegExp("[?&]"+kt,"i").test(window.location.search))return ve()}catch(e){}}function de(e){var t,n,i,r;try{var o=null===(i=pt.tunings)||void 0===i?void 0:i.widget_lst_button_enabled,a=o&&"1"===(null===(r=pt.tunings)||void 0===r?void 0:r.widget_lst_button_type),s=[];a||s.push(document.querySelector("div.uai")),o&&s.push(document.querySelector("div.ulsti"));try{for(var l=__values(s),u=l.next();!u.done;u=l.next()){var c=u.value;if(!c)return console.warn("Icon not found");e?"visible"===e?c.classList.remove("hidden"):c.classList.add("hidden"):c.classList.contains("hidden")?c.classList.remove("hidden"):c.classList.add("hidden")}}catch(e){t={error:e}}finally{try{u&&!u.done&&(n=l.return)&&n.call(l)}finally{if(t)throw t.error}}}catch(e){}}function ge(e){mt?me():(ve(e),un("userway_widget_open"))}function fe(e){var t=document.querySelector(".uwif");if(!yt||t.src){var n=function(e,t){var n=t,i=e;n[i];return __rest(n,["symbol"==typeof i?i:i+""])},i=function(e,t){var i=t;return"object"==typeof t&&null!==t&&(i=e.reduce(function(e,t){return n(t,e)},t)),encodeURIComponent(JSON.stringify(i))},r="rand="+ +new Date,o=["services","tunings","language","account","widgetPageLang",ln],a=["accessibility_url","accessibility_link_enabled","accessibility_link_text","CUSTOM_BRANDING","VOICE_NAVIGATION","LIVE_TRANSLATIONS"],s=o.map(function(e){var t=UserWayWidgetApp.ContextHolder.config[e];return t?e+"="+i(a,t):null}).filter(Boolean),l=__spreadArray([r],__read(s),!1).join("&");t.setAttribute("src",qt+e+"/index.html?"+l)}yt=!1}function pe(){var e=document.querySelector(".uwy");e.classList.add("uon"),e.classList.remove("hidden"),en&&e.classList.remove(en);var t=document.querySelector(".uwif");t.removeAttribute("aria-hidden"),t.removeAttribute("tabindex"),bt.isMobile()&&t.focus(),fn(!0)}function ye(){var e=document.querySelector(".uwy");e.classList.remove("uon"),en&&e.classList.add(en);var t=document.querySelector(".uwif");t.setAttribute("aria-hidden","true"),t.setAttribute("tabindex","-1"),qe.focus(),fn(!1)}function ve(e){if(void 0===e&&(e=an.main),qe=document.activeElement,window.location.origin&&"null"!==window.location.origin){S(),E();try{if(p()){var t=new Audio(pt.cdn+"widgetapp/sounds/widgetOpened.mp3");Yt=new Audio(pt.cdn+"widgetapp/sounds/widgetClosed.mp3"),t.play()}}catch(e){}var n=document.querySelector(".uwif");n.hasAttribute("src")&&Zt||H("show"),Promise.resolve().then(function(){return n.hasAttribute("src")?pe():Ce().then(function(){vt=It.resolveUserLangSelection(),vt&&pt.language!==vt&&(pt.language=vt),fe(pt.language)})}).then(function(){try{bt.postMessageWithNotification({action:"toggled",state:"show",trigger:e},"widgetOpened",function(){mt=!0,pe()})}catch(e){console.error(e)}Y(),Qe&&Qe.hideActiveTooltip&&Qe.hideActiveTooltip()})}}function me(){if(p())try{Yt.play()}catch(e){}A();var e=UserWayWidgetApp.getLib("remediation_utils");"object"==typeof e&&"function"==typeof e.highlightElements&&e.highlightElements();try{bt.postMessageWithNotification({action:"toggled",state:"hide"},"widgetClosed",function(){mt=!1,je.onWidgetClosed(),ye()})}catch(e){console.error(e)}}function he(e,t){var n=new RegExp("\\b"+t+".*?\\b","g");return e.className=e.className.replace(n,""),e}function we(e){void 0===e&&(e=pt.tunings);var t=bt.isMobile(),n=document.querySelector(".userway_buttons_wrapper"),i=t&&e.widget_position_nudge_mobile?e.widget_position_nudge_mobile.moveX:e.widget_position_nudge.moveX,r=t&&e.widget_position_nudge_mobile?e.widget_position_nudge_mobile.moveY:e.widget_position_nudge.moveY,o=t&&e.widget_position_nudge_mobile?e.widget_position_nudge_mobile.xOrientation:e.widget_position_nudge.xOrientation,a=t&&e.widget_position_nudge_mobile?e.widget_position_nudge_mobile.yOrientation:e.widget_position_nudge.yOrientation,s=t?!e.position_mobile&&e.widget_position_mobile?parseInt(e.widget_position_mobile,10):parseInt(e.position,10):!e.position&&e.widget_position?parseInt(e.widget_position,10):parseInt(e.position,10);if(_(),i)if(-1!==[1,2,3].indexOf(s))"right"===o&&(i=-i),n.style.setProperty("left","calc(100vw - "+(nn.leftRightSide.right+i)+"px)","important");else if(-1!==[4,8].indexOf(s)){var l="left"===o?" - ":" + ";n.style.setProperty("left","calc("+nn.middle.left+"%"+l+i+"px)","important")}else-1!==[5,6,7].indexOf(s)&&("left"===o&&(i=-i),n.style.setProperty("left",nn.leftRightSide.left+i+"px","important"));if(r)if(-1!==[3,4,5].indexOf(s))"top"===a&&(r=-r),n.style.setProperty("bottom",nn.leftRightSide.bottom+r+"px","important");else if(-1!==[2,6].indexOf(s)){var l="bottom"===a?" - ":" + ";n.style.setProperty("top","calc("+nn.middle.top+"%"+l+r+"px)","important")}else-1!==[1,7,8].indexOf(s)&&("bottom"===a&&(r=-r),n.style.setProperty("top",nn.leftRightSide.top+r+"px","important"))}function be(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var i=e||j();e&&(pt.settings[t?zt:Bt]={},bt.setProperty(pt,t?zt:Bt,n?i:null));var r=document.querySelector(".uwy"),o=document.querySelector(".uwif");(he(o,"userway_p"),o.classList.add("userway_p"+i),r&&(he(r,"userway_p"),r.classList.add("userway_p"+i),setTimeout(function(){r.style.setProperty("visibility","","")},250)),bt.getProperty("userway_hidden"))&&document.querySelector(".uwy").classList.add("userway_hidden")}function _e(){var e=["s2","s4","s6","s7","s12","s13","s14","s23"];return pt.services.hasOwnProperty("MODIFY_MENU")&&pt.services.MODIFY_MENU.is_enabled?e.filter(function(e){return-1!==pt.services.MODIFY_MENU.features_pattern.split("|").indexOf(e)}):e}function Se(e){var t=e.type,n=e.expirationTime;pn(t,n),me(),de("hidden"),_e().forEach(function(e){Ee(e,0)});for(var i in pt.settings)pt.settings[i].hasOwnProperty("value")&&(pt.settings[i].value=0);bt.postMessage({action:"updateVisuallyImpairedState",config:!1}),Ae()}function Ee(e,t){var n="userway-"+e;if(void 0!==t)if("s2"===e)pt.settings[n].value=t,0===t&&(pt.settings["userway-s10"].value=t,pt.settings["userway-s16"].value=t);else if("s3"===e||"s14"===e||"s17"===e||"s23"===e)-1!==[!1,1,2,3].indexOf(t)?pt.settings[n].value=t:pt.settings[n].value=0;else if("s4"===e||"s19"===e)-1!==[!1,1,2,3,4].indexOf(t)?pt.settings[n].value=t:pt.settings[n].value=0;else if("s21"===e||"s18"===e)-1!==[!1,1].indexOf(t)?pt.settings[n].value=t:pt.settings[n].value=0;else if("s8"===e)for(var i in pt.settings)pt.settings[i].value=0;else pt.settings[n].value=t;Ae(),We()}function Ae(){for(var e in pt.settings)"userway_hidden"===e||e===Gt?bt.setProperty(pt,e,pt.settings[e]):bt.setProperty(pt,e,pt.settings[e].value);UserWayWidgetApp.ContextHolder.config=pt}function Le(){for(var e in pt.settings)pt.settings.hasOwnProperty(e)&&(pt.settings[e].value=bt.getProperty(e))}function Te(){if("undefined"!=typeof _userway_config)for(var e in _userway_config)_userway_config.hasOwnProperty(e)&&(pt[e]=_userway_config[e])}function We(e){if(void 0===e&&(e=!1),window.UserWayWidgetApp&&window.UserWayWidgetApp.lazyLoaded){if(JSON.stringify(pt.settings)!==JSON.stringify(ht)){if(wt={},Object.keys(ht).length)for(var t in pt.settings)pt.settings.hasOwnProperty(t)&&ht.hasOwnProperty(t)&&pt.settings[t].value!==ht[t].value&&(wt[t]=JSON.parse(JSON.stringify(pt.settings[t])));else wt=pt.settings;for(var t in wt)!function(t){if(pt.settings.hasOwnProperty(t)){var n=pt.services&&pt.services.paidAi;if(pt.settings[t]&&pt.settings[t].value&&(n||-1===on.indexOf(t))){De("enable",t);var i=function(){return He("enable",t)},r=bt.LIFE_CYCLE_EVENT.FEATURE_ENABLED_BASE,o=null;if("userway-s2"===t)Be.enableBigCursor(),o="s2";else if("userway-s3"===t)Ge.turnOffColorFeature(),Ge.turnOnColorFeature(t,pt),o="s3";else if("userway-s4"===t)ze.enable(),o="s4";else if("userway-s6"===t)Ye.enable(),o="s6";else if("userway-s7"===t)Je.disable(),Ke.enable(),o="s7";else if("userway-s9"===t)je.enable(),Ve.enable().then(i),o="s9",window.localStorage.setItem("readerSpeed",pt.settings[t].value);else if("userway-s10"===t)Be.enableReadingGuide(),o="s10";else if("userway-s11"===t){var a=e?2e3:0;setTimeout(function(){Xe.showPageStructureHeaders().then(i),o="s11"},a)}else"userway-s12"===t?(Qe.enable(),o="s12"):"userway-s13"===t?(Ze.enable(),o="s13"):"userway-s14"===t?($e.enable(),o="s14"):"userway-s15"===t?(Je.enable(),o="s15"):"userway-s16"===t?(Be.enableReadingMask(),o="s16"):"userway-s17"===t?(et.disable(),et.enable(),o="s17"):"userway-s18"===t?(Ge.enableSmartContrast(),o="s18"):"userway-s19"===t?(tt.disable(),tt.enable(),o="s19"):"userway-s23"===t?(nt.disable(),nt.enable(),o="s23"):"userway-s21"===t?(rt.enable().then(i),S(),o="21"):"userway-s24"===t?(Promise.all([Ve.preload(),ot.enable()]).then(i),me(),S(),o="s24"):"userway-s25"===t?(lt.enable(),o="s25"):"userway-s101"===t?o="s101":"userway-s102"===t?o="s102":"userway-s103"===t?o="s103":"userway-s104"===t?o="s104":"userway-s105"===t?o="s105":"userway-s106"===t?o="s106":"userway-s107"===t?o="s107":"userway-s108"===t&&(o="s108");o&&ue(r,o,pt.settings[t].value),!["userway-s21","userway-s11","userway-s9"].includes(t)&&i()}else if(!e){De("disable",t);var r=bt.LIFE_CYCLE_EVENT.FEATURE_DISABLED_BASE,s=null;if("userway-s2"===t)Be.disableBigCursor(),s="s2";else if("userway-s3"===t)Ge.turnOffColorFeature(),s="s3";else if("userway-s4"===t)ze.disable(),s="s4";else if("userway-s5"===t)console.warn("s5 key: shouldn't happen anymore");else if("userway-s6"===t)Ye.disable(),s="s6";else if("userway-s7"===t)Ke.disable(),s="s7";else if("userway-s9"===t)Ve.disable(),je.disable(),s="s9";else if("userway-s10"===t)Be.disableReadingGuide(),s="s10";else if("userway-s12"===t)Qe.disable(),s="s12";else if("userway-s13"===t)Ze.disable(),s="s13";else if("userway-s14"===t)$e.disable(),s="s14";else if("userway-s15"===t)Je.disable(),s="s15";else if("userway-s16"===t)Be.disableReadingMask(),s="s16";else if("userway-s17"===t)et.disable(),s="s17";else if("userway-s18"===t)Ge.disableSmartContrast(),s="s18";else if("userway-s19"===t)tt.disable(),s="s19";else if("userway-s23"===t)nt.disable(),s="s23";else if("userway-s21"===t){rt.disable(),s="s21",document.querySelector(".uwaw-dictionary-tooltip").classList.remove("uwaw-dictionary-tooltip_active");var l=document.querySelector(".uwaw-dictionary-tooltip__i");l&&l.remove()}else"userway-s24"===t?(ot.disable(),s="s24"):"userway-s25"===t?(lt.disable(),s="s25"):"userway-s101"===t?s="s101":"userway-s102"===t?s="s102":"userway-s103"===t?s="s103":"userway-s104"===t?s="s104":"userway-s105"===t?s="s105":"userway-s106"===t?s="s106":"userway-s107"===t?s="s107":"userway-s108"===t&&(s="s108");s&&ue(r,s),He("disable",t)}}}(t);ht=JSON.parse(JSON.stringify(pt.settings))}o()&&xe(),ft.showPageStructureLinks=Xe.showPageStructureLinks}}function xe(){var e=document.querySelector(".uwy");Object.keys(pt.settings).some(function(e){var t;return(null===(t=pt.settings[e])||void 0===t?void 0:t.value)&&"userway-positionWidget"!==e})?e.classList.add("uen"):e.classList.remove("uen")}function Oe(){window.UserWay=new function(){function e(e,t){if(void 0===t){var n="userway-"+e,i=ft.getFeaturesSettings(),r=i[n].value;"s4"===e||"s19"===e?r?r<4?r+=1:r=0:r=1:"s9"===e?i[n].disabled?r=0:r<3?r+=1:r=!r:"s17"===e||"s23"===e||"s3"===e||"s14"===e?r?r<3?r+=1:r=0:r=1:r="s21"===e||"s101"===e||"s102"===e||"s103"===e||"s104"===e||"s105"===e||"s106"===e||"s107"===e||"s108"===e?r?0:1:!r,t=r}Ce().then(function(n){ft.setFeature(e,t);var i={action:"feature_use",name:e};t&&(i.value=t),bt.postMessage(i)})}var t=this;return t.getVersion=function(){return"1.0.0"},t.getAccessibilityScore=function(){Tt.accessibilityScore()},t.widgetToggle=function(){ft.toggleWidget()},t.widgetOpen=function(){ft.openWidget()},t.widgetClose=function(){ft.closeWidget()},t.enableVoiceNavigation=function(e){S(),Ve.preload(),ot.enable(e)},t.disableVoiceNavigation=function(){ot.disable()},t.bigCursorToggle=function(){e("s2")},t.bigCursorEnable=function(){e("s2",1)},t.bigCursorDisable=function(){e("s2",0)},t.contrastToggle=function(){e("s3")},t.contrastEnable=function(t){-1!==[1,2,3].indexOf(t)?e("s3",t):e("s3")},t.contrastDisable=function(){e("s3",0)},t.bigTextToggle=function(){e("s4")},t.bigTextEnable=function(t){-1!==[1,2,3,4].indexOf(t)?e("s4",t):e("s4")},t.bigTextDisable=function(){e("s4",0)},t.highlightToggle=function(){e("s6")},t.highlightEnable=function(){e("s6",1)},t.highlightDisable=function(){e("s6",0)},t.legibleFontsToggle=function(){e("s7")},t.legibleFontsEnable=function(){e("s7",1)},t.legibleFontsDisable=function(){e("s7",0)},t.textSpacingToggle=function(){e("s14")},t.textSpacingEnable=function(t){e("s14",t)},t.textSpacingDisable=function(){e("s14",0)},t.lineHeightToggle=function(){e("s17")},t.lineHeightEnable=function(t){e("s17",t)},t.lineHeightDisable=function(){e("s17",0)},t.inlineDictionaryToggle=function(){e("s21")},t.inlineDictionaryEnable=function(t){e("s21",t)},t.inlineDictionaryDisable=function(){e("s21",0)},t.textAlignToggle=function(){e("s19")},t.textAlignEnable=function(t){e("s19",t)},t.textAlignDisable=function(){e("s19",0)},t.saturationToggle=function(){e("s23")},t.saturationEnable=function(t){e("s23",t)},t.saturationDisable=function(){e("s23",0)},t.resetAll=function(){e("s8")},t.readPageToggle=function(){e("s9")},t.readPageEnable=function(t){void 0===t&&(t=1),e("s9",t)},t.readPageDisable=function(){e("s9",0)},t.readingGuideToggle=function(){e("s10")},t.readingGuideEnable=function(){e("s10",!0)},t.readingGuideDisable=function(){e("s10",!1)},t.readingMaskToggle=function(){e("s16")},t.readingMaskEnable=function(){e("s16",!0)},t.readingMaskDisable=function(){e("s16",!1)},t.dyslexiaFontToggle=function(){e("s15")},t.dyslexiaFontEnable=function(){e("s15",!0)},t.dyslexiaFontDisable=function(){e("s15",!1)},t.iconVisibilityToggle=function(){ft.manageIconVisibility()},t.iconVisibilityOn=function(){ft.manageIconVisibility("visible")},t.iconVisibilityOff=function(){ft.manageIconVisibility("hidden")},t.preloadWidget=function(){ke()},t.pageStructureHeaders=function(){Xe.showPageStructureHeaders()},t.pageStructureLandmarks=function(){Xe.showPageStructureLandmarks()},t.pageStructureLinks=function(){Xe.showPageStructureLinks()}, t.pageStructureDisable=function(){Xe.closePageStructureDialog()},t.tooltipsToggle=function(){e("s12")},t.tooltipsEnable=function(){e("s12",1)},t.tooltipsDisable=function(){e("s12",0)},t.stopAnimationToggle=function(){e("s13")},t.stopAnimationEnable=function(){e("s13",1)},t.stopAnimationDisable=function(){e("s13",0)},t.changeWidgetLanguage=function(e){Ce().then(function(){X(e,!0)})},t.enableSmartContrast=function(){e("s18",1)},t.disableSmartContrast=function(){e("s18",0)},t.enableHideImages=function(){e("s25",1)},t.disableHideImages=function(){e("s25",0)},t.debug=function(){try{localStorage.setItem("debug","true"===localStorage.getItem("debug")?"false":"true"),document.location.reload()}catch(e){bt.logger.error("debug mode activation failed",e)}},t.toggleInitialPagePreload=function(){var e=window.localStorage.getItem(dt),t=!JSON.parse(e);window.localStorage.setItem(dt,t.toString()),bt.logger.error("Initial page widget preload is "+(t?"enabled":"disabled")+"!")},t.setPosition=function(e,t,n){void 0===n&&(n=!1),be(e,t,n)},t}}function Ie(e){var t,n,i;pt.services.LIVE_TRANSLATIONS&&(null===(t=pt.tunings)||void 0===t?void 0:t.widget_lst_button_enabled)?"1"==(null===(n=pt.tunings)||void 0===n?void 0:n.widget_lst_button_type)?(e.querySelector(".ulsti").classList.remove("hidden"),e.querySelector(".uai").classList.add("hidden")):"2"==(null===(i=pt.tunings)||void 0===i?void 0:i.widget_lst_button_type)&&(e.querySelector(".uai").style.marginTop="8px"):e.querySelector(".ulsti").classList.add("hidden")}function Ne(e){var t,n,i,r=document.createElement("div");r.classList.add("uw-s12-tooltip"),r.setAttribute("aria-hidden","true"),Ue(r);var o=document.createElement("div"),a=document.createElement("div"),s=document.createElement("div"),l=document.createElement("div"),u=document.createElement("div");o.classList.add("uw-s10-reading-guide"),a.classList.add("uw-s10-left-ruler-guide"),s.classList.add("uw-s10-right-ruler-guide"),l.classList.add("uw-s10-bottom-ruler-guide"),u.classList.add("uw-s10-reading-guide__arrow"),o.appendChild(u),Ue(o),Ue(a),Ue(s),Ue(l);var c=document.createElement("div");c.innerHTML=e,c.classList.add("uwy"),c.setAttribute("data-uw-feature-ignore","true"),c.setAttribute("data-uw-rm-ignore","true"),pt.isMobile&&c.classList.add("umb"),en&&c.classList.add(en),c.style.setProperty("background-color","transparent","important"),c.style.setProperty("overflow","initial","important"),c.style.setProperty("visibility","hidden",""),Ie(c),Ue(c),c.setAttribute("title",bt.getUserWayIconElementTitle(pt));var d=(null===(t=pt.services)||void 0===t?void 0:t.CUSTOM_BRANDING)||(null===(n=pt.services)||void 0===n?void 0:n.WHITE_LABEL)||(null===(i=pt.tunings)||void 0===i?void 0:i.widget_no_logo),g=document.querySelectorAll(".uwif");if(g&&g.length){var f=g[0];f.setAttribute("title",d?bt.getUserWayIconElementTitle(pt):"UserWay "+bt.getUserWayIconElementTitle(pt)),f.style.setProperty("max-width","100vw","important"),f.style.setProperty("visibility","visible","important"),f.style.setProperty("opacity","1","important"),f.style.setProperty("color-scheme","light","important");/Android/i.test(navigator.userAgent)&&(f.style.setProperty("height","100%","important"),f.style.setProperty("max-height","100%","important"))}var p=Pe();p&&p.length&&window.UserWay.iconVisibilityOff()}function Ue(e){var t=document.body;t.insertBefore(e,t.children[0])}function Ce(){var e=!document.querySelector("script[uw-lazyload-disabled]");return Xt?Jt:(bt.addUwStylesheetUDFFont(pt),!UserWayWidgetApp.lazyLoaded&&e?(Xt=!0,Jt=new Promise(function(e,t){bt.execJs(Rt+"widgetapp/2025-05-19-09-38-47/widget_app_lazy_1747647527153.js","sha256-3EzAGBqHW+oapgV4HZ4dUaUKS1SPkAWQeVSur/fPfTI=").then(function(t){Me(),UserWayWidgetApp.lazyLoaded=!0,o()&&U(),Xt=!1,e()},function(e){console.error("Widgetapp lazyload error:",e),Xt=!1,t()})})):Jt=Promise.resolve(),Jt)}function ke(){Qt||(S(),Ce().then(function(){vt=It.resolveUserLangSelection(),vt&&pt.language!==vt&&(pt.language=vt),fe(pt.language)}),Qt=!0)}function Me(){je=UserWayWidgetApp.getLib("keyboard_navigation"),Be=UserWayWidgetApp.getLib("cursor"),ze=UserWayWidgetApp.getLib("bigger_text"),Ge=UserWayWidgetApp.getLib("uw_color_manipulation_service"),Ye=UserWayWidgetApp.getLib("highlinks"),Ke=UserWayWidgetApp.getLib("legible_text"),Je=UserWayWidgetApp.getLib("dyslexia_font"),Ve=UserWayWidgetApp.getLib("screen-reader-t"),Xe=UserWayWidgetApp.getLib("page_structure"),Qe=UserWayWidgetApp.getLib("tooltips"),Ze=UserWayWidgetApp.getLib("stop_animations"),$e=UserWayWidgetApp.getLib("spacing_text"),et=UserWayWidgetApp.getLib("line_height"),tt=UserWayWidgetApp.getLib("text_align"),nt=UserWayWidgetApp.getLib("saturation"),rt=UserWayWidgetApp.getLib("inlineDictionary"),ot=UserWayWidgetApp.getLib("voice-navigation"),lt=UserWayWidgetApp.getLib("hide_images")}function Pe(){if(!pt||!Object.keys(pt.tunings).length)return null;var e=pt._userway_config&&pt._userway_config.trigger,t=pt.tunings&&pt.tunings.widget_custom_trigger,n=pt.tunings&&pt.tunings.widget_custom_trigger_enabled,i=e||(n&&t?t:null),r=[];if(i){"."!==i[0]&&(i="#"+i);try{r=bt.querySelectorDeep(i)}catch(e){console.error(e)}}return r}function Re(){var e=window.localStorage.getItem("should-preload-widget");JSON.parse(e)&&ke()}function Fe(){var e,t,n,i;return(null===(e=pt.services.WHITE_LABEL)||void 0===e?void 0:e.hide_logo)||(null===(t=pt.tunings)||void 0===t?void 0:t.widget_no_logo)||(null===(n=pt.services.CUSTOM_BRANDING)||void 0===n?void 0:n.custom_logo_image_link)||(null===(i=pt.services.CUSTOM_BRANDING)||void 0===i?void 0:i.custom_logo_image_path)}function De(e,t){ct&&ct.time(e+" "+t)}function He(e,t){ct&&ct.timeEnd(e+" "+t)}var qe,Ve,je,Be,ze,Ge,Ye,Ke,Je,Xe,Qe,Ze,$e,et,tt,nt,it,rt,ot,at,st,lt,ut,ct,dt="should-preload-widget",gt=2e3,ft=UserWayWidgetApp.addLib("main"),pt={},yt=!1,vt=null,mt=!1,ht={},wt={},bt=UserWayWidgetApp.getLib("util"),_t=UserWayWidgetApp.getLib("localization_manager"),St=UserWayWidgetApp.getLib("context_setter"),Et=UserWayWidgetApp.getLib("context_setter_on_prem"),At=UserWayWidgetApp.getLib("dom_observer"),Lt=UserWayWidgetApp.getLib("skip_links"),Tt=UserWayWidgetApp.getLib("scan_manager"),Wt=UserWayWidgetApp.getLib("USER_TRACKING"),xt=UserWayWidgetApp.getLib("cpr_usage_detector"),Ot=UserWayWidgetApp.getLib("tts-reader-status"),It=UserWayWidgetApp.getLib("widget_language_resolver"),Nt=UserWayWidgetApp.getLib("helpers"),Ut=UserWayWidgetApp.getLib("WIDGET_HOTKEYS"),Ct=UserWayWidgetApp.getLib("REMEDIATION_BUNDLE_CONFIG"),kt="uaw",Mt={UW_BUTTON_POSITION:"1",UW_WIDGET_COLOR:"#0048FF",UW_WIDGET_COLOR_GRADIENT:"off",UW_WIDGET_ICON_TYPE:"1",UW_WIDGET_ICON_SIZE:"small"},Pt="uw-tunings-checksum",Rt="https://cdn.userway.org/",Ft="2025-05-19-09-38-47",Dt="uw-st/2025-05-19-09-38-47/uw-st.js?ts=1747647527153",Ht=!1,qt=Rt+"widget/2025-05-19-09-38-47/",Vt="https://cdn.userway.org/styles/2025-05-19-09-38-47/widget_base.css?v=1747647527153",jt='
',Bt="userway-positionWidget",zt="userway-positionWidgetMobile",Gt="userway-selectedLang",Yt=null,Kt=!1,Jt=null,Xt=!1,Qt=!1,Zt=!1,$t=!1,en=null,tn=["widget_position_nudge","widget_position_nudge_mobile"],nn={leftRightSide:{top:18,right:13,bottom:16,left:13},middle:{left:50,top:50}},rn=It.resolvePageLangAttribute(),on=["s9","s11","s18","s21","s24","s101","s102","s103","s104","s105","s106","s107","s108"],an={main:"main",lst:"lst"},sn="uw-uid",ln="site-language";ft.init=e,ft.isSoundEffectsEnabled=p;var un=function(e,t){var n;void 0===t&&(t=""),pt.services.paidAi&&(null===(n=null===pt||void 0===pt?void 0:pt.tunings)||void 0===n?void 0:n.widget_ga_enabled)&&"function"==typeof gtag&>ag("event","UserWay",{name:e,state:t})};ft.setPageStructureModalColor=z;var cn,dn=function(e){if(e){var t=["alt","ariaEditor","autocomplete","brokenLinks","commonSettings","contrast","customFocus","emptyControls","externalLinks","form","headings","identicalTargets","labs","language","metaViewport","moderator","navigationMenu","pdf","perSiteRemediation","popups","skipLinks","slickSlider","vagueLinks","title"],n=__assign({},e);return t.forEach(function(e){n[e]||(n[e]={enabled:!0,config:{}})}),n}},gn=function(e){document.body.removeEventListener("click",e),document.body.removeEventListener("keyup",e)};ft.manageIconVisibility=de,ft.toggleWidget=ge;var fn=function(e){bt.isMobile()&&(document.body.style.overflow=e?"hidden":"")};ft.openWidget=ve,ft.closeWidget=me,ft.getAvailableBunchOfFeatures=_e;var pn=function(e,t){return"current"===e?void sessionStorage.setItem("hideUWWidget","enabled"):"indefinitely"===e?void localStorage.setItem("hideUWWidget","enabled"):void bt.setItemWithExpiry("hideUWWidget","enabled",t)};ft.setFeature=Ee,ft.getFeaturesSettings=function(){if(pt.services.paidAi||!pt.services.hasOwnProperty("paidAi"))return pt.settings;var e={};return Object.keys(pt.settings).forEach(function(t){pt.settings.hasOwnProperty(t)&&-1===on.indexOf(t)&&(e[t]=pt.settings[t])}),e},ft.lazyLoad=Ce,ft.preloadIframe=ke,"loading"===document.readyState?document.addEventListener("DOMContentLoaded",function(){return e()}):e()}();