!function(e,t,i){class n{constructor(){if(this.instance)return this.instance;this.instance=e.a11y=this,e.version=this.version="4.5.8",this.GetDefaultProp(),this.SetPolyfills(),this.setNativePrototypes(),this.AssignConst("isDev",!1),this.AssignConst("SHOW_TIMEOUT",400),this.setConsts(),this.initWindowEvents(),e.Event=this.Event=this.GetDefaultProp("Event"),e.JSON=this.JSON=this.GetDefaultProp("JSON"),e.Function=this.Function=this.GetDefaultProp("Function"),1==e.nagichOnTop||0==e.nagichOnTop||1==e.nagishOnTop||0==e.nagishOnTop?(this.AssignConst("nagichOnTop",!(!e.nagichOnTop&&!e.nagishOnTop)),this.init()):this.IsNagichOnTop().then((e=>{this.AssignConst("nagichOnTop",e)})).catch((e=>{INDlog("IsNagichOnTop failed ",e),this.AssignConst("nagichOnTop",!1)})).finally((()=>{this.init()}))}init(){if(e.isIframe=!e.forceBtnAppearance&&this.isIframe,this.isIframe&&this.addClass(i,"INDisIframe"),!this.IsSitekeyValid(e.sitekey))return!1;if(!this.isIframe){let e=document.body,t="indRatio";const i=()=>{e.dataset[t]=Math.trunc(100*window.devicePixelRatio)};i(),window.addEventListener("resize",(function(e){i()}))}if(Object.INDdefineProperty(window,"interdeal",{writable:!1}),this.GetBrowserDetails(),Object.INDkeys(e.domains||{}).length){for(let t in e.domains)try{new e.URL(e.domains[t])}catch(e){return void this.INDLog(`%cNo ${t} domain specified%c`,this.LogPresets("red"))}this.domains=e.domains,this.INDLog(`%c[IND]%c Version %c${this.version}%c`,`${this.LogPresets()} border-radius:3px 0 0 3px;`,this.LogPresets("green"),`${this.LogPresets()} border-radius:0 3px 3px 0`,""),e.getDefaultProp=this.GetDefaultProp,e.addStyle=this.addStyle,this.initInterdealFunctions(),this.keyCodes=this.setKeyCodes(),this.head=e.head=t||document.head,this.body=i,e.mode={},this.getModeFromStroage(),e.ShowMenu=e.setNavigation=e.ErrMenu=this.ErrMenu,e.setLanguage(sessionStorage.getItem("INDcustomMenuLang-full-ISO")||e.Menulang),e.setPosition(e.Position),this.initWrap(),this.LoadDefaults((()=>{if(!e.isMethodsSet&&Object.INDkeys(e.mode).length){if(e.isPending=!0,this.a11yBtn&&(this.a11yBtn.disabled=!0),this.isIframe&&e.a11y.nagichOnTop)return;window.INDsetTimeout((()=>{this.startA11y()}),0)}})),e.a11y.INDWrap.INDappendChild(e.a11y.dataWrap),e.LoadData=this.LoadData(),this.SetGlobalEvents(),e.isDefined=!0,e.isIframe?this.postToTop(`{"action" : "${e.a11y.validAction.getModes}"}`):this.postToTop(`{"action" : "${e.a11y.validAction.a11yDone}"}`),document.body.dispatchEvent(new Event("INDAccLoaded",{bubbles:!0,cancelable:!1}))}else this.INDLog("%cNo domains specified%c",this.LogPresets("red"))}get methodNames(){return["INDNavigation","INDTextReader","INDVoiceCmd","INDEpilepsy","INDColorScheme","INDFontSize","INDReadableFont","INDBigCursor","INDAltText","INDHighlight","INDVirtualKeyboard","INDMagnifier","INDdictionary","INDfocusmode","INDreadguide","INDtextmagnifier","INDprofile","customcolorUpadate","setColorScheme","INDmediaSubtitles"]}get isIframe(){try{return window.self!=window.top}catch(e){return!0}}get countryCode(){return e.fullLangISO||e.lang}startA11y(){return new Promise(function(t,i){this.isLoading=!0,this.setLoader(),this.getA11yMenu(!0).then((()=>{this.getA11yStyle(),this.getA11y(e.mode),document.body.INDaddEventListener("INDdataFinished",(i=>{e.isPending=!1,this.removeLoader(),this.a11yBtn&&(this.a11yBtn.disabled=!1),t(!0)}))})).catch((e=>{this.INDLog(" getA11yMenu failed : "+e,"err"),i(!1)}))}.INDbind(this))}setLoader(){if(e.a11y.nagichOnTop||!this.a11yBtn)return;this.a11yBtn.querySelector("#INDloader")&&this.a11yBtn.classList.contains("INDbtn-loading")||(this.a11yBtn.innerHTML+=`\n\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t
`.INDtrim(),this.a11yBtn.classList.add("INDbtn-loading"))}removeLoader(){if(e.a11y.nagichOnTop||!this.a11yBtn)return;let t=this.a11yBtn&&this.a11yBtn.querySelector("#INDloader");t&&t.remove(),this.a11yBtn.classList.remove("INDbtn-loading")}toggleLoader(t){if(e.a11y.nagichOnTop||!this.a11yBtn)return;if(!this.a11yBtn&&!(this.a11yBtn=document.getElementById("INDmenu-btn")))return;let i=!(!this.a11yBtn.querySelector("#INDloader")&&!t);if(i){let e=this.a11yBtn.querySelector("#INDloader");e&&e.remove()}else this.a11yBtn.innerHTML+=`\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
`.INDtrim();i?this.a11yBtn.classList.remove("INDbtn-loading"):this.a11yBtn.classList.add("INDbtn-loading")}setConsts(){this.setValidMethods(),this.setValidAction(),this.setConstFunctions()}setValidMethods(){this.AssignConst("validMethods",{soundreder:"setNavigation",keyboard:"setNavigation",smartnav:"setNavigation",virtualKeyboard:"setVirtualKeyboard",dictionary:"setDictionary",textreader:"setTextReader",textmagnifier:"settextmagnifier",voicecmd:"setVoiceCommands",epilepsy:"setEpilepsy",customcolor:"customcolorUpadate",monochrome:"setColorScheme",blackwhite:"setColorScheme",whiteblack:"setColorScheme",autoConFix:"setColorScheme",highHue:"setColorScheme",lowHue:"setColorScheme",fontsizeinc:"setFontSize",fontsizedec:"setFontSize",linesizedec:"setFontSize",linesizeinc:"setFontSize",wordsizeinc:"setFontSize",wordsizedec:"setFontSize",readablefont:"setReadableFont",readabilitymode:"setReaderMode",whitecursor:"setBigCursor",blackcursor:"setBigCursor",magnifier:"setZoom",links:"setHighlight",headers:"setHighlight",alttext:"setAltText",switchoff:"switchOff",statement:"statement",feedback:"feedback",hideButton:"hideA11yButton",readguide:"setReadGuide",focusmode:"setfocusMode",video:"setSubtitles",a11yMode:"setA11yMode",off:"switchOff"})}setValidAction(){this.AssignConst("validAction",{checkNagich:"checkNagich",getModes:"getModes",setMode:"setMode",setInIframe:"setInIframe",a11yDone:"a11yDone",openMenu:"openMenu"})}setConstFunctions(){Object.INDdefineProperty(this,"isModeValid",{writable:!1,value:t=>t in e.a11y.validMethods})}async IsNagichOnTop(){return await new Promise(((t,i)=>{function n({data:s}){try{let i=e.a11y.ParseJSON(s),a="object"==typeof i&&"action"in(i||{});a&&(window.INDremoveEventListener("message",n),t(!(!a||!i.action)))}catch(e){i(!1)}}if(window.INDaddEventListener("message",n.INDbind(this)),window.top!=window.self)try{this.postToTop({action:"checkNagich"})}catch(e){window.INDremoveEventListener("message",n)}this.isIframe||(t(!1),window.INDremoveEventListener("message",n)),e.waitForTop||(INDsetTimeout((()=>{try{t(null!=window.top.window.interdeal)}catch(e){t(!1)}}),1e3),window.INDremoveEventListener("message",n))}))}postToTop(t){"string"!=typeof t&&(t=e.JSON.stringify(t));try{window.top.INDpostMessage(t,"*")}catch(i){try{window.top.postMessage(t,"*")}catch(t){e.a11y.INDLog(`Faild to post mesage to Iframe ${frame.src}`,t,"err")}}}postFrames(t,i){const n=["about:blank"];t=t||document.querySelectorAll(`iframe[src]:not([src^="javascript"])`);for(let s of t)try{n.includes(s.src)||s.contentWindow.postMessage(e.JSON.stringify(i),s.src||"*")}catch(t){e.a11y.INDLog(`Faild to post mesage to Iframe ${s.src}`,t,"err")}}initWindowEvents(){window.INDaddEventListener("message",function(t){try{const i=e.a11y.GetMsgData(t.data),n=e.a11y.validAction;let s=document.querySelectorAll(`iframe[src]:not([src^="javascript"])`);switch(i.action){case n.openMenu:e.a11y.a11yBtn.click();break;case n.checkNagich:e.iframe||this.postFrames(s,i);break;case n.a11yDone:case n.getModes:Object.INDkeys(e?.mode||{}).length&&this.postFrames(s,{action:n.setInIframe,modes:e.mode});break;case n.setInIframe:let t=Object.INDentries(i.modes).INDfilter((([t,i])=>this.isModeValid(i)&&!(t in(e.mode||{})&&e.mode[t]==i))).reduce(((e,t)=>(e[t[0]]=t[1],e)),{});Object.INDkeys(t).length&&!this.isSet&&(this.isSet=!0,Object.INDassign(e.mode||{},t),this.postFrames(s,i),this.startA11y().then((()=>{this.INDLog("startA11y was sucĀ·cessĀ·ful")})).catch((()=>{this.INDLog("startA11y failed","err")})));break;case n.setMode:let a=i.optName;this.isModeValid(a)&&e.LoadData((function(){var t=e[e.a11y.validMethods[a]];"function"==typeof t&&t(i.data?i:a)}));break;default:break}}catch(e){this.INDLog(e,"err")}}.bind(this)),e.isIframe?window.top.postMessage({action:e.a11y.validAction.checkNagich}):this.postFrames(null,{action:e.a11y.validAction.checkNagich})}GetCookie(e){var t=("; "+document.cookie).INDsplit("; "+e+"=");if(2==t.length)return t.pop().split(";").shift()}IsSitekeyValid(t){return/^[a-fA-F0-9]{32}$/.test(t)?!e.isDefined||(this.INDLog("%c[IND] Duplicate Interdeal code; Installed "+e.counter()+" times.%c",this.LogPresets("red")),!1):(this.INDLog("%c[IND] SiteKey Error.%c",this.LogPresets("red")),!1)}AssignConst(e,t){Object.INDdefineProperty(this,e,{value:t,writable:!1,enumerable:!0,configurable:!1}),Object.INDfreeze(this[e])}CreateElement(e,t){if("string"==typeof e){var i=document.createElement(e);if(t&&"object"==typeof t)for(var n in t){var s=t[n];if("object"==typeof s){var a;switch(n){case"attributes":a="setAttribute";break;case"style":Object.assign(i.style,s);continue;case"events":a="addEventListener";break}for(var o in s)i[a](o,s[o])}else"string"==typeof s&&(i["html"==n?"innerHTML":"text"==n?"innerText":"null"]=s)}return i}this.INDLog("%c Non-string element. %c",this.LogPresets("red"))}SetGlobalEvents(){let t=window.document;this.body.classList.contains("INDmenu-open")&&e.a11y.ToggleGlovalEvents(!0),t.INDaddEventListener("keydown",(function(t){if(t.ctrlKey&&t.which===e.a11y.keyCodes.f10)if(e.isIframe)try{this.postToTop(null,{action:e.a11y.validAction.openMenu})}catch(e){}else e.a11y.a11yBtn.click();t.ctrlKey&&t.which===e.a11y.keyCodes.f11?e.quickAccess.blindShorcut.click():t.which===e.a11y.keyCodes.esc&&e.CloseMenu()}))}handleGlobalClick(t){null!=e.menu.querySelector("#INDloader")||e.a11y.isOrhas(e.INDWrap,t.target)||e.CloseMenu()}ToggleGlovalEvents(e){let t=window.document;e?(t.INDaddEventListener("click",this.handleGlobalClick),t.INDaddEventListener("touchstart",this.handleGlobalClick,{passive:!0}),t.INDaddEventListener("focusin",this.handleGlobalClick)):(t.INDremoveEventListener("click",this.handleGlobalClick),t.INDremoveEventListener("touchstart",this.handleGlobalClick,{passive:!0}),t.INDremoveEventListener("focusin",this.handleGlobalClick))}Rebuild(){delete e.a11y,e.Menu=null,e.iframe=null,e.isDefined=!1,new n}GetDefaultProp(t){if(!e.iframe||e.iframe&&!window.document.body.contains(e.iframe)){let t=e.iframe=this.CreateElement("iframe",{attributes:{title:"IND - Default Props",id:"INDdefaultPropIframe"},style:{display:"none"}});document.body.appendChild(t)}return t?e.iframe.contentWindow[t]:e.iframe.contentWindow}setKeyCodes(){return{esc:27,tab:9,f10:121,f11:122}}SetPolyfills(){var t=e.iframe.contentWindow.Array.prototype.slice;Function.prototype.INDbind=function(e){if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not a function");var i=t.call(arguments,1),n=i.length,s=this,a=function(){},o=function(){return i.length=n,i.push.apply(i,arguments),s.apply(a.prototype.isPrototypeOf(this)?this:e,i)};return this.prototype&&(a.prototype=this.prototype),o.prototype=new a,o}}setNativePrototypes(){e.URL=this.GetDefaultProp("URL");let t=e.iframe.contentWindow,i={Element:{prototype:["removeEventListener","addEventListener","removeAttribute","hasChildNodes","dispatchEvent","setAttribute","getAttribute","insertBefore","appendChild","isSameNode","contains","prepend","matches","append"]},Node:{prototype:["removeEventListener","addEventListener","dispatchEvent","setAttribute","insertBefore","getAttribute","appendChild","contains","prepend","append"]},EventTarget:{prototype:["removeEventListener","addEventListener","dispatchEvent","insertBefore","setAttribute","getAttribute","appendChild","contains","prepend","append"]},window:{console:["assert","debug","error","warn","info","log"],methods:["setInterval","postMessage","setTimeout","fetch"]},String:{prototype:["toUpperCase","toLowerCase","replaceAll","trimStart","substring","includes","matchAll","indexOf","trimEnd","replace","concat","search","match","split","slice","trim"]},Function:{prototype:["apply","call","bind"]},Array:{prototype:["toLocaleString","lastIndexOf","reduceRight","copyWithin","findIndex","includes","toString","entries","flatMap","forEach","indexOf","reverse","unshift","values","filter","concat","reduce","splice","shift","every","slice","fill","find","flat","join","keys","push","some","sort","map","pop"],methods:["isArray","from","of"]},Object:{prototype:["propertyIsEnumerable","hasOwnProperty","isPrototypeOf"],methods:["getOwnPropertyDescriptors","getOwnPropertyDescriptor","getOwnPropertySymbols","getOwnPropertyNames","preventExtensions","defineProperties","defineProperty","getPrototypeOf","isExtensible","fromEntries","isSealed","isFrozen","entries","assign","create","freeze","keys","seal","is"]}},n=["methods"];"INDincludes"in window.Array.prototype||t.Object.defineProperty(window.Array.prototype,"INDincludes",{enumerable:!1,value:t.Array.prototype.includes,writable:!1});for(let t in i)s(t,i[t],window,e.iframe.contentWindow);function s(i,a,o,r,d="IND"){if(a instanceof Array)for(let i in a)try{let e=`${d||""}${a[i]}`;!o.hasOwnProperty(e)&&r[a[i]]&&(t.Object.defineProperty(o,e,{enumerable:!1,value:r[a[i]],writable:!1}),t.Object.defineProperty(r,e,{enumerable:!1,value:r[a[i]],writable:!1}))}catch(t){e.a11y.INDLog(`Failed to assign function ${i} : `,t)}else for(let e in a)s(e,a[e],n.INDincludes(e)?o[i]:o[i][e],n.INDincludes(e)?r[i]:r[i][e])}}INDLog(){e.noLogs&&!e.a11y.isDev||(e.isColorLog?console.INDlog.apply(console,arguments):"string"==typeof arguments[0]?console.INDlog(arguments[0].replace(/%c/g,"")):console.INDlog(arguments[0]))}LogPresets(e){switch(e){case"green":return"color: Black; background: #50e590; font-weight: bold; padding: 3px";case"red":return"color: White; background: #ca0808; font-weight: bold; padding: 3px;";case"yellow":return"color: Black; background: #e7ea04; font-weight: bold; padding: 3px;";case"purple":return"color: Black; background: #d800ff; font-weight: bold; padding: 3px;";case"cyan":return"color: Black; background: #00b9ff; font-weight: bold; padding: 3px;";case"pink":return"color: Black; background: #ff0082; font-weight: bold; padding: 3px;";default:return"color: White; background: #17384c; font-weight: bold; padding: 3px;"}}ParseJSON(t){try{return e.JSON.parse(t)}catch(e){return!1}}GetMsgData(e){return this.ParseJSON(e)||e}GetBrowserDetails(){let t=e.OS=(i="Unknown OS",-1!=navigator.appVersion.INDindexOf("Win")&&(i="Windows"),-1!=navigator.appVersion.INDindexOf("Mac")&&(i="MacOS"),-1!=navigator.appVersion.INDindexOf("X11")&&(i="UNIX"),-1!=navigator.appVersion.INDindexOf("Linux")&&(i="Linux"),{name:i});var i;let n=e.browser=(a=navigator.userAgent,o=a.INDmatch(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i)||[],/trident/i.test(o[1])?{name:"Explorer",version:+((s=/\brv[ :]+(\d+)/g.exec(a)||[])[1]||"")}:"Chrome"===o[1]&&null!==(s=a.INDmatch(/\b(OPR|Edge)\/(\d+)/))?{name:s[1].INDreplace("OPR","Opera"),version:+s[2]}:"MSIE"===o[1]&&/compatible;/i.test(a)?(s=/trident\/(\d)/i.exec(a)||[],{name:"Explorer",version:o[2]+" (Compatibility Mode, Orig: "+(+s[1]+4)+")"}):(o=o[2]?[o[1],o[2]]:[navigator.appName,navigator.appVersion,"-?"],null!==(s=a.INDmatch(/version\/(\d+)/i))&&o.INDsplice(1,1,s[1]),{name:o[0],version:+o[1]}));var s,a,o;e.isColorLog=!/explorer|edge/i.test(n.name),e.isDesktop=!0,(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(navigator.userAgent)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(navigator.userAgent.substr(0,4)))&&(e.isDesktop=!1),(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(navigator.userAgent)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(navigator.userAgent.substr(0,4)))&&(e.isDesktop=!1),this.INDLog(`%c[IND]%c You are running %c ${t.name} %c Operating system, %c ${n.name} %c browser, version: %c ${n.version}`,`${this.LogPresets()} border-radius:3px 0 0 3px;`,this.LogPresets("green"),this.LogPresets(),this.LogPresets("green"),this.LogPresets(),this.LogPresets("green"),`${this.LogPresets()} border-radius:0 3px 3px 0`),e.isAccChecker=/equalbot/i.test(navigator.userAgent)}SetLocale(t,i=!0){t=e.setLanguage(t);let n=e.a11y,s=n.locale[e.a11y.countryCode],a=e.a11y.a11yBtn.querySelector(".INDhiddenText");i&&(sessionStorage.setItem("INDcustomMenuLang",t),sessionStorage.setItem("INDcustomMenuLang-full-ISO",e.fullLangISO)),document.querySelector("html").INDsetAttribute("lang",t),s&&(e.shortcuts&&e.shortcuts.setContents(),n.a11yBtn.INDsetAttribute("data-drag-content",`\n${e.a11y.locale[e.a11y.countryCode].a11yBtn.drag}`),a&&(a.innerText=s.a11yBtn.txt)),e.locale&&null==s?window.INDfetch(`${e.domains.acc}?${e.a11y.SerializeArgs({getLocale:!0,ver:e.version,key:e.sitekey,domainName:location.hostname.replace(/^www\./i,""),tabletDetaction:e.isDesktop?"off":"on",menuLang:this.a11y.countryCode,Position:e.menuPos})}`,{method:"GET"}).then((async i=>{n.locale[n.countryCode]=await window.INDfetch(`${e.domains.js}assets/locale/${n.countryCode}.json`).then((e=>e.json()));let s=`interdeal.locale[interdeal.a11y.countryCode]=${await i.text()}`;e.a11y.addScript(s),e.shortcuts&&e.shortcuts.setContents(),a&&(a.innerText=n.locale[n.countryCode].a11yBtn.txt),n.a11yBtn.INDsetAttribute("data-drag-content",`\n${n.locale[n.countryCode].a11yBtn.drag}`),e.RefreshModules&&e.RefreshModules(t||e.lang)})).catch((e=>{n.INDLog(e,"err"),this.SetLocale("en-GB",!0)})).finally((function(){document.body.INDdispatchEvent(new Event("INDlanguageChanged",{bubbles:!0,cancelable:!0}))})):(e.RefreshModules&&e.RefreshModules(t||e.lang),document.body.INDdispatchEvent(new Event("INDlanguageChanged",{bubbles:!0,cancelable:!0})))}showINDwrap(){this.INDWrap.style.display="block"}async InitButtonStyle(){let t=e.btnStyle,i=this.a11yBtn,n=e.a11y.locale[e.a11y.countryCode].a11yBtn.txt;const s=`\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t`;let a=Object.INDassign({type:10,shape:"semicircle",outline:!0},t&&t.icon||{}),o=[],r="";for(let e in a)switch(e){case"type":"string"==typeof a.type?i.innerHTML=`${s}${a.type}`:"number"==typeof a.type&&o.INDpush(window.INDfetch(`${this.domains.js}assets/images/${a.type}.svg`));break;case"outline":a[e]&&(r+=`INDoutline-btn `);break;case"arrow":let t=a.arrow;if("object"==typeof t){r+=`INDarrow-btn INDarrow-${t.direction&&"string"==typeof t.direction&&/(left|right|up|down)/.test(t.direction.toLowerCase())?t.direction.INDtoLowerCase():"right"}-btn INDarrow-${t.position&&"string"==typeof t.position&&/(before|after)/.test(t.position.toLowerCase())?t.position.INDtoLowerCase():"before"}-btn`}break;default:r+=`IND${a[e]}-btn `;break}if(r.trim()&&this.addClass(i,r.trim()),await Promise.all(o).then((e=>{const t=[].map.toString().indexOf("[native code]")>-1?[].map:[].INDmap;return Promise.all(t.call(e,(e=>this.HandleFetch(e))))})).then((t=>{for(let o of t)"svg"==o.type&&(i.innerHTML=(a=o.data,s+a+e.a11y.MakeHidden(n).outerHTML+i.innerHTML));var a;document.body.INDdispatchEvent(new this.Event("INDbuttonRevealed")),this.showINDwrap()})).catch((e=>{this.INDLog(e),404==e.code&&"svg"==e.type&&(i.innerHTML=`${s}${n}`)})),t)var d=t.vPosition,c=t.scale,l=t.color;d&&(e.isDesktop&&null!=d[0]&&d[0]!=typeof void 0&&(i.style.top=Number(d[0])?`${d[0]}px`:d[0]),e.isDesktop||null==d[1]||d[1]==typeof void 0||(i.style.bottom=Number(d[1])?`${d[1]}px`:d[1])),c&&(e.isDesktop&&null!=c[0]&&c[0]!=typeof void 0&&this.CssVar(i,"--indscale",c[0]),e.isDesktop||null==c[1]||c[1]==typeof void 0||this.CssVar(i,"--indscale",c[1])),l&&("object"==typeof l?(this.CssVar(i,"--indmaincolor",l.main),this.CssVar(i,"--indsecondcolor",l.second)):this.CssVar(i,"--indmaincolor",l)),e.draggable=0!=e.draggable,e.draggable&&this.initDragSystem()}openMenu(t){if(t&&t.preventDefault(),!e.a11y.hasClass(e.a11y.a11yBtn,"INDdrag")&&!e.isPending)return e.a11y.a11yBtn.setAttribute("aria-expanded","true"),e.a11y.ActivateBtn((function(){e.ShowMenu(),e.isPending=!1,setTimeout((function(){e.a11y.ToggleGlovalEvents(!0)}),100)})),!1}InitButton(){let t=this.a11yBtn=document.querySelector("#INDmenu-btn");if(t)t.INDaddEventListener("click",this.openMenu),t.INDaddEventListener("keypress",this.openMenu),this.showINDwrap();else{t=this.a11yBtn=this.CreateElement("button",{attributes:{id:"INDmenu-btn","aria-expanded":"false","aria-haspopup":"true",accesskey:"m","data-drag-content":`\n${e.a11y.locale[e.a11y.countryCode].a11yBtn.drag}`},events:{click:this.openMenu,keypress:this.openMenu}}),this.isLoading&&t.INDsetAttribute("disabled",!0),this.addClass(this.body,"INDhasDragTooltip");let i=this.CreateElement("div",{attributes:{id:"INDbtnWrap"}});i.INDappendChild(t);let n=document.getElementById("INDblindNotif");n?n.parentElement.INDinsertBefore(i,n.nextSibling):this.INDWrap.INDappendChild(i),this.InitButtonStyle()}}initDragSystem(){var t=this;const i=1.2;var n,s,a,o,r,d,c=new this.Event("INDdragEnd"),l=this.CssVar(this.a11yBtn,"--indscale")||1;function h(e){d=!1,document.INDremoveEventListener("mousemove",p),document.INDremoveEventListener("touchmove",p,{passive:!0}),setTimeout(function(){t.removeClass(t.a11yBtn,"INDdrag"),t.removeClass(document.body,"INDbtn-draging"),t.CssVar(t.a11yBtn,"--indscale",1===l?"":l),n&&t.a11yBtn.INDdispatchEvent(c)}.INDbind(this),0)}function u(t){let c=e.a11y;var u=l*i;return d=!0,n=!1,setTimeout(function(){d&&(r=this.getBoundingClientRect(),s=g(t),a=r.top,o=r.height*(l-1)/2,e.a11y.addClass(this,"INDdrag"),e.a11y.addClass(document.body,"INDbtn-draging"),c.CssVar(this,"--indscale",u),document.INDaddEventListener("touchmove",p,{passive:!0}),document.INDaddEventListener("mousemove",p))}.INDbind(this),1e3),this.INDaddEventListener("mouseup",h),this.INDaddEventListener("touchend",h,{passive:!0}),document.INDaddEventListener("mouseup",h),document.INDaddEventListener("touchend",h,{passive:!0}),!1}function p(e){n=!0;var t=g(e);let i=r.height/2;return y(t.x>window.innerWidth/2?"right":"left",Math.min(Math.max(a+t.y-s.y+o,o+i),window.innerHeight-i-r.height*l+o)),!1}this.a11yBtn.INDsetAttribute("data-INDdrag",!0),this.a11yBtn.INDaddEventListener("mousedown",u),this.a11yBtn.INDaddEventListener("touchstart",u,{passive:!0}),this.a11yBtn.INDaddEventListener("INDdragEnd",(function(e){}));var m=this.GetFromStorage("INDbtnPosition");function y(t,i){e.setPosition(t),Object.INDassign(e.a11y.a11yBtn.style,{top:`${i}px`,bottom:"initial"}),e.a11y.SetToStorage("INDbtnPosition",e.JSON.stringify({x:t,y:i}))}function g(e){return{x:(e=e.touches?e.touches[0]:e).clientX,y:e.clientY}}m&&y((m=e.JSON.parse(m)).x,m.y)}getModesFromTop(){return new Promise(((t,i)=>{window.INDaddEventListener("message",(function i({data:n}){window.INDremoveEventListener("message",i),t(e.ParseJSON(n).modes)}));try{this.postToTop(null,`{ "action" : "${e.a11y.validAction.getModes}" }`,"*")}catch(e){this.INDLog(e)}}))}async getModeFromStroage(){if(e.isIframe&&e.nagichOnTop&&(e.mode=await this.getModesFromTop()||{},Object.INDkeys(e.mode||[]).length))return!0;for(let i of this.methodNames){var t=this.GetFromStorage(i);t&&(e.mode[i]=t)}return!0}LoadDefaults(t){let i=[window.INDfetch(`${this.domains.js}style/style${this.isDev?".src":""}.css`),window.INDfetch(`${this.domains.js}style/btncolor.css`),window.INDfetch(`${this.domains.js}assets/locale/${e.a11y.countryCode}.json`)];if(Promise.all(i).then((e=>Promise.all(e.map((e=>this.HandleFetch(e)))))).then((async i=>{const n=e.a11y.nagichOnTop,s=!("true"!=this.GetCookie("INDhideAccBtn")&&"true"!=sessionStorage.getItem("INDhideAccBtn"));s||n&&e.isIframe?this.INDWrap.style.display="block":this.InitButton(),e.mode["INDNavigation"]||s||(e.shortcuts=this.setShortcuts()),window.location.href.INDincludes("#equalweb")&&this.openMenu(),"function"==typeof t&&t()})),e.pdf){let t=this.CreateElement("script",{attributes:{referrerpolicy:"origin",src:`${this.domains.js}assets/scripts/pdf.js`}});e.a11y.dataWrap.appendChild(t)}let n=this.CreateElement("script",{attributes:{referrerpolicy:"origin",src:`${this.domains.js}assets/scripts/classManager.js`}});e.a11y.dataWrap.appendChild(n)}HandleFetch(t){return new Promise(((i,n)=>{let s=t.url,a=t.headers.get("Content-Type");t.ok||n({url:s,type:s.INDmatch(/\.\w+$/)[0].replace(".",""),code:t.status,status:t.statusText});let o={};t.text().then((function(t){a.includes("image/svg")?o={success:!0,type:"svg",data:t}:a.includes("text/css")?(e.a11y.addStyle(t),o={success:!0,type:"style",data:a}):a.includes("application/json")&&(e.a11y.locale||(e.a11y.locale={}),e.locale=e.a11y.locale[e.a11y.countryCode]=e.ParseJSON(t),o={success:!0,type:"json",data:a}),i(o)}))}))}MakeHidden(e,t){let i=this.CreateElement("span",{attributes:{class:"INDhiddenText"},text:e});return typeof t==typeof void 0?i:t instanceof HTMLElement&&(t.INDappendChild(i),t)}initInterdealFunctions(){let t=this;e.ParseJSON=this.ParseJSON,e.counter=function(){let e=2;return function(){return e++}}(),e.SetLocale=this.SetLocale,e.CloseMenu=function(i){t.menu.INDsetAttribute("aria-hidden",!0),e.a11y.ToggleGlovalEvents(!1),t.removeClass(document.body,"INDmenu-open"),e.a11y.a11yBtn&&e.a11y.a11yBtn.INDsetAttribute("aria-expanded",!1),e.a11y.isOrhas(this.menu)&&e.a11y.a11yBtn.focus(),"function"==typeof i&&i()},e.setPosition=function(i){let n=e.menuPos=i&&i instanceof Array&&2===i.length?i[this.isDesktop?0:1]:i&&/right|left/i.test(i)?i.toLowerCase():"rtl"===this.langDir?"right":"left";const s=e.a11y.classStorage?.()||document.body.classList;return["INDpositionRight","INDpositionLeft"].forEach((e=>{s.remove(e)})),s.add(`IND${t.camelCase(`position-${n}`)}`),n},e.setLanguage=function(i=e.lang||"en"){t.lang=e.lang=i;let n=t.lang.split("-");return n[0]=n[0].toLowerCase(),t.fullLangISO=e.fullLangISO=2==n.length?n.join("-"):n[0],t.lang=e.lang=n[0],t.langDir=e.langDir="he"===t.lang||"ar"===t.lang?"rtl":"ltr",t.fullLangISO}}setShortcuts(){let t,i,n=this.CreateElement("ul");if(e.quickAccess=this.CreateElement("div",{attributes:{id:"INDquickAccess"}}),e.quickAccess.INDappendChild(n),this.INDWrap.INDappendChild(e.quickAccess),e.quickAccess.blindShorcut=i=this.CreateElement("button",{attributes:{accesskey:"b",class:"INDshortcutBtn",tabindex:1},events:{click:function(){let t={INDNavigation:"soundreder"};return Object.INDassign(e.mode,t),this.startA11y().then((()=>{e.a11y.SetToStorage("INDNavigation","soundreder");let i={action:e.a11y.validAction.setInIframe,modes:t};e.a11y.postFrames(null,i)})).catch((e=>{this.INDLog("startA11y cb failed "+e,"err")})),!1}.bind(this)}}),t=this.CreateElement("li"),t.INDappendChild(i),n.INDappendChild(t),e.isDesktop){var s=this.CreateElement("button",{attributes:{accesskey:"l",tabindex:1},events:{click:function(){let t={INDNavigation:"keyboard"};return Object.INDassign(e.mode,t),this.startA11y().then((()=>{e.a11y.SetToStorage("INDNavigation","keyboard");let i={action:e.a11y.validAction.setInIframe,modes:t};e.a11y.postFrames(null,i)})).catch((e=>{this.INDLog("startA11y cb failed "+e,"err")})),!1}.bind(this)}});t=this.CreateElement("li"),t.INDappendChild(s),n.INDappendChild(t)}let a=this.CreateElement("button",{attributes:{tabindex:1},events:{click:function(){return e.a11y.a11yBtn.click(),!1}}});t=this.CreateElement("li"),t.INDappendChild(a),n.INDappendChild(t);let o=this.CreateElement("div",{attributes:{id:"INDblindNotif",tabindex:-1,class:"INDhiddenText"}});function r(){let t=e.a11y.locale[e.a11y.countryCode];o.innerText=t.blindNotif.note+(e.isDesktop?` ${t.blindNotif.keys}`:""),a.innerText=e.isDesktop?t.shortcuts.a11yMenu:t.shortcuts.a11yMenuMobile,s&&(s.innerText=t.shortcuts.keyboard),i&&(i.innerHTML=e.isDesktop?`${t.shortcuts.blind.txt}${t.shortcuts.blind.sup}`:`${t.shortcuts.blind.mobileTxt}${t.shortcuts.blind.sup}`)}return e.INDWrap.INDprepend(o),INDsetTimeout((function(){o.INDsetAttribute("role","alert"),e.menu.getAttribute("aria-hidden")&&!e.nagichOnTop&&o.focus()}),/safari/i.test(e.browser.name)?2e3:1e3),this.body.addEventListener("keydown",function(t){if(t.key&&e.a11y.keyCodes[t.key.toLocaleLowerCase()]===e.a11y.keyCodes.tab&&!t.shiftKey&&(t.target===document.body||t.target===o)&&!e.mode["INDNavigation"])return INDsetTimeout(function(){this.nagichOnTop&&this.isIframe||document.querySelector("#INDquickAccess button").focus()}.bind(this)),!1}.bind(this)),r(),{setContents:r,quickAccess:e.quickAccess}}initWrap(){this.body=document.body.parentElement.INDcontains(this.body)&&this.body||document.body,this.langDir=this.langDir||e.langDir,e.INDWrap=this.INDWrap=this.CreateElement("div",{attributes:{id:"INDWrap",lang:this.lang,dir:this.langDir,"data-ind-version":this.version},style:{display:"none"}}),e.dataWrap=this.dataWrap=this.CreateElement("div",{attributes:{id:"INDdata"},style:{display:"none"}}),e.menu=this.menu=this.CreateElement("div",{attributes:{id:"INDmenu","aria-hidden":!0}}),this.INDWrap.INDappendChild(this.menu),e.modal=this.SetModal(),this.body[/googlebot/i.test(navigator.userAgent)?"appendChild":"prepend"](this.INDWrap);let t=`IND${e.isDesktop?"Desktop":"Mobile"} \n\t\t\t\t\tIND${e.browser.name.INDtrim()} \n\t\t\t\t\tINDlangdir${this.langDir.toUpperCase().INDtrim()}\n\t\t\t\t\tIND${this.camelCase(`position-${e.menuPos}`).INDtrim()}`;this.addClass(this.body,t.INDreplace(/\s+/g," "))}addClass(e,t){!1!="string"&&(t=t.split(" "),e.classList.add(...t))}removeClass(e=document,t=""){if(!1=="string"||e==document||!e)return;t=[...t.INDsplit(" ")];let i=e&&Array.from(e.classList)||[];for(let n of i)t.INDincludes(n)&&e.classList.remove(n)}hasClass(e,t){return` ${e.className} `.INDreplace(/[\n\t]/g," ").INDindexOf(t)>-1}addStyle(t,i){if(t&&"string"==typeof t&&""!==t){let n=e.a11y.CreateElement("style",{attributes:i?{id:i}:void 0,html:t});this.head.INDappendChild(n)}else this.INDLog("%c No style data provided.. %c",this.LogPresets("red"))}ActivateBtn(t){e.isError?e.menu.INDsetAttribute("aria-hidden",!1):(e.isMethodsSet||(this.setLoader(),this.CssVar(document.querySelector("#INDloader .INDloader"),"--indmaincolor",e.btnStyle&&e.btnStyle.color?e.btnStyle.color.main:"darkblue"),this.CssVar(document.querySelector("#INDloader .INDloader"),"--indsecondcolor",e.btnStyle&&e.btnStyle.color?e.btnStyle.color.second:"teal")),this.getA11yMenu().then((()=>(e.isIframe||window.self.INDpostMessage(`{"action" : "${e.a11y.validAction.a11yDone}"}`,"*"),"function"==typeof t&&t(),!1))).catch((e=>{})))}SerializeArgs(e){return new URLSearchParams(e).toString()}LoadData(){var t=function(){},i=e.pageTitle=document.title,n=e.pageURL=null!=document.querySelector("link[rel=canonical]")?document.querySelector("link[rel=canonical]").href:document.location.href,s=this.GetCookie("_UserReference"),a=this.GetCookie("HostMasterID"),o={ver:e.version,isNewSystem:!0,key:e.sitekey,domainName:location.hostname.INDreplace(/^www\./i,""),tabletDetaction:e.isDesktop?"off":"on",menuLang:e.lang,Position:e.menuPos,firstTime:!this.GetCookie("_UserReference"),pageURL:n,pageTitle:i};return s&&(o["_UserReference"]=s),a&&(o["HostMasterID"]=a),function(){var i="object"==typeof arguments[0]?arguments[0]:{};if("function"==typeof arguments[0]?t=arguments[0]:"function"==typeof arguments[1]&&(t=arguments[1]),e.isMethodsSet&&Object.keys(e.mode||{}).length)t();else{o.menuLang=e.a11y.countryCode;let n=Object.assign(i,o),s=e.a11y.SerializeArgs(n);window.INDfetch(`${e.domains.acc}?${s}`,{method:"GET",headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"}}).then((async function(i){let n,s;try{let a=await i.text();e.a11y.dataWrap.innerHTML=a,e.a11y.INDWrap.INDappendChild(e.a11y.dataWrap);let o=e.a11y.dataWrap.children;for(let t of o)if("SCRIPT"==t.nodeName){if(e.a11y.isDev){s=(t.innerText.INDtrim().INDmatch(/(^\/\/#(.)+\n)|(^\/\*(.)+\*\/)/)||[""])[0];let e=s.INDtrim().INDmatch(/\/(?:.(?!\/))+\.js$/);n=e&&e[0].INDreplace("/","")}try{window.Function(`${t.innerHTML}`).INDbind(e)()}catch(t){console.log("err"),e.a11y.INDLog(t,"err")}}t()}catch(t){e.a11y.isDev&&(e.a11y.INDLog(`%c Error at "${n||"Unknown"}" : %c${s&&s.trim()||"Unknown"}`,e.a11y.LogPresets("blue"),e.a11y.LogPresets("green")),e.a11y.INDLog(t)),e.GetErrorMessage?e.ErrMenu(e.GetErrorMessage("Network Error")):e.ErrMenu('

⚠ Network Error

'),e.a11y.INDLog(`%cError : ${t}`,e.a11y.LogPresets("red"))}})).catch((t=>{e.GetErrorMessage?e.ErrMenu(e.GetErrorMessage("Loading Error")):e.ErrMenu('

⚠ Loading Error

'),e.a11y.INDLog(t,"err")}))}}}getA11yStyle(){let t=e.a11y.GetCookie("_UserReference"),i=this.CreateElement("link",{attributes:{rel:"stylesheet",referrerpolicy:"origin",href:`${e.domains.acc}styles.taf?key=${e.sitekey}&pos=${e.menuPos} &menulang=${this.countryCode}${t&&"undefined"!=t?`&_UserReference=${t}`:""}`}});e.a11y.dataWrap.INDappendChild(i)}getA11y(t,i){let n=this.SerializeArgs({key:e.sitekey,menulang:this.countryCode,...t}),s=e.a11y.GetCookie("_UserReference"),a=this.CreateElement("script",{attributes:{referrerpolicy:"origin",src:`${e.domains.acc}scripts.taf?${n}${s&&"undefined"!=s?`&_UserReference=${s}`:""}`}});e.a11y.dataWrap.INDappendChild(a),document.body.addEventListener("INDreadyState",(()=>{"function"==typeof i&&i(),e.a11y.statisitcUpdate(t)}))}getA11yMenu(t){return new Promise(((i,n)=>{if(e.isError)return i;if(e.Menu||e.Menu&&e.Menu.isDone)t||e.Menu.ShowMenu(),i();else{let n=this.SerializeArgs({key:e.sitekey,menulang:this.countryCode}),s=e.a11y.GetCookie("_UserReference"),a=this.CreateElement("link",{attributes:{rel:"stylesheet",referrerpolicy:"origin",href:`${e.domains.acc}styles.taf?menuStyle=true&key=${e.sitekey}&menulang=${this.countryCode}${s&&"undefined"!=s?`&_UserReference=${s}`:""}`}});e.a11y.dataWrap.INDappendChild(a);let o=this.CreateElement("script",{attributes:{referrerpolicy:"origin",src:`${e.domains.acc}menu.taf?${n}${s&&"undefined"!=s?`&_UserReference=${s}&firsttime=false`:"&firsttime=true"}`}});a.onload=function(){e.a11y.dataWrap.INDappendChild(o),document.body.INDaddEventListener("INDmenuLoaded",(()=>{e.Menu=new this.a11yMenu,t||e.Menu.ShowMenu(),!t&&this.removeLoader(),i()}))}.INDbind(this)}}))}statisitcUpdate(t){var i=e.pageTitle=document.title,n=e.pageURL=null!=document.querySelector("link[rel=canonical]")?document.querySelector("link[rel=canonical]").href:document.location.href;let s=this.SerializeArgs({ver:e.version,key:e.sitekey,tabletDetaction:e.isDesktop?"off":"on",_UserReference:this.GetCookie("_UserReference"),pageURL:n,pageTitle:i,firsttime:!!this.GetCookie("_UserReference"),...t});window.INDfetch(`${e.domains.acc}statistics.taf?${s}`,{method:"GET",headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"}}).then((e=>e.text())).then((t=>{t.trim().length&&(INDLog("Statistics","title"),INDLog(e.ParseJSON(t),"data"),INDLog("Statistics","end"))}))}ErrMenu(...t){if(null!=e.menu.querySelector("#INDloader")||e.menu.INDhasChildNodes()){var i=e.errors||{},n=t[0]||document.querySelector("#INDErrorMsg").innerHTML||"";n=n.INDtrim().INDreplace(/\{\{([^\}]+)\}\}/g,(function(e,n){return i[t[1]||n]?i[t[1]||n]:"{{"+t[1]||n+"}}"})),(e.a11yBtn||e.a11y.a11yBtn||{innerHTML:""}).innerHTML+=`
\n\t\t\t\t\t\t\t\t${n||'

⚠ Error

'}\n\t\t\t\t\t\t\t
`}setTimeout((function(){if(e.menu){let t=e.menu.querySelector("h2");t&&t.focus()}}),200)}CssVar(e,t,i){return!(!e instanceof HTMLElement)&&(void 0===i?getComputedStyle(e).getPropertyValue(t):(e.style.setProperty(t,i),e))}addScript(t,i){if(t&&"string"==typeof t&&""!==t){let n={};i&&(n.id=i),e.nonce&&"string"==typeof e.nonce&&(n.nonce=e.nonce||"");let s=this.CreateElement("script",{attributes:n,html:t});this.INDWrap.INDappendChild(s)}else this.INDLog("%c No script data provided.. %c",this.LogPresets("red"))}camelCase(e){return e.INDreplace(/\W+(.)/g,(function(e,t){return t.toUpperCase()}))}GetFromStorage(e){let t=localStorage.getItem(e);return"string"==typeof t?t:this.ParseJSON(t)}SetToStorage(t,i){localStorage.setItem(t,"string"==typeof i?i:e.JSON.stringify(i))}RemoveFromStorage(e){localStorage.removeItem(e)}isOrhas(e,t){return t=t||document.activeElement,e.INDcontains(t)||e.INDisSameNode(t)}removeCookie(t){if(e.currDomain)return document.cookie=`${t}=; path=/; domain=.${e.currDomain}; expires=${new Date(0).toUTCString()}`,document.cookie;this.INDLog("%c No domain found. %c",this.LogPresets("red"))}SetCookie(e,t,i){let n=new Date;document.cookie=`${e}=${t}; expires=${new Date(n.setDate(n.getDate()+i))}; path=/; `}SetModal(){var t;let i=this.CreateElement("div",{style:{display:"none"},attributes:{id:"INDpopup","aria-hidden":!0},events:{click:function(t){e.a11y.isOrhas(o,t.target)||d()}.INDbind(this),keydown:function(e){if(e.which!=this.keyCodes.esc){if(e.which===this.keyCodes.tab){if(!e.shiftKey&&a.INDisSameNode(e.target))return n.focus(),!1;if(e.shiftKey&&n.INDisSameNode(e.target))return a.focus(),!1}}else d()}.INDbind(this)}}),n=this.CreateElement("div",{attributes:{id:"INDpopupHead",role:"heading","aria-level":2,tabindex:0},text:"Popup heading"}),s=this.CreateElement("div",{attributes:{id:"INDContent",class:"INDpopupContent"}}),a=this.CreateElement("button",{attributes:{id:"INDCloseBtn",class:"INDpopupConfirm",tabindex:0},text:"Close",events:{click:d}}),o=this.CreateElement("div",{attributes:{role:"dialog","aria-modal":!0,"aria-labelledby":"INDpopupHead",tabindex:0}});o.INDappendChild(n),o.INDappendChild(s),o.INDappendChild(a),i.INDappendChild(o),this.INDWrap.INDappendChild(i);var r=function(e){var t=this.GetMsgData(e.data);0===this.domains.acc.INDindexOf(e.origin)&&"Close Me!"===t.INDmessage&&d()}.INDbind(this);function d(){i.INDremoveAttribute("class","open"),e.a11y.removeClass(document.body,"INDmodalOpen"),i.INDsetAttribute("aria-hidden",!0),setTimeout((function(){i.style.display="none"}),200),(t&&t!==document.body&&"none"!=t.style.display?t:this.a11yBtn).focus()}return window.INDaddEventListener("message",r),{open:function(r,d,c){if("$IND"in window&&d instanceof $IND&&(d=d[0]),s.innerHTML="",t=document.activeElement,e.CloseMenu(),n.innerHTML=r||"Dialog",d&&"string"!=typeof d?s.INDappendChild(d):s.innerHTML=d||"",c)a.innerHTML=c;else{let t=e.a11y.locale[e.a11y.countryCode].closeBtn.INDreplace(/<<(.*)>>/," ");a.innerText=t}e.a11y.addClass(document.body,"INDmodalOpen"),e.a11y.addClass(i,"open"),i.INDsetAttribute("aria-hidden",!1),INDsetTimeout((function(){i.style.display="block"}),200),o.focus()},close:d,container:i}}}document.body?new n:(window.INDaddEventListener||window.addEventListener)("DOMContentLoaded",(()=>{i=document.body,new n}))}(window.interdeal=window.interdeal||{},document.head,document.body);