1let getRoot=document.querySelector(":root"),cs=getComputedStyle(getRoot),originalRootColor=cs.getPropertyValue("--primary-color"),secondaryRootColor=cs.getPropertyValue("--secondary-color"),buttonRootColor=cs.getPropertyValue("--button-background-color"),mainNavRootColor=cs.getPropertyValue("--main-navigation-toolbar-color"),footerRootColor=cs.getPropertyValue("--footer-color"),footerNavRootColor=cs.getPropertyValue("--footernav-color"),darkColor=cs.getPropertyValue("--dark-color"),lightColor=cs.getPropertyValue("--light-color"),contrastColor=cs.getPropertyValue("--contrast-color");function hexToRgb(e){var t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}:null}let r=hexToRgb(originalRootColor).r,g=hexToRgb(originalRootColor).g,b=hexToRgb(originalRootColor).b,r_sc=hexToRgb(secondaryRootColor).r,g_sc=hexToRgb(secondaryRootColor).g,b_sc=hexToRgb(secondaryRootColor).b,r_btn=hexToRgb(buttonRootColor).r,g_btn=hexToRgb(buttonRootColor).g,b_btn=hexToRgb(buttonRootColor).b,r_mn=hexToRgb(mainNavRootColor).r,g_mn=hexToRgb(mainNavRootColor).g,b_mn=hexToRgb(mainNavRootColor).b,r_foot=hexToRgb(footerRootColor).r,g_foot=hexToRgb(footerRootColor).g,b_foot=hexToRgb(footerRootColor).b,r_fn=hexToRgb(footerNavRootColor).r,g_fn=hexToRgb(footerNavRootColor).g,b_fn=hexToRgb(footerNavRootColor).b,r_dark_c=hexToRgb(darkColor).r,g_dark_c=hexToRgb(darkColor).g,b_dark_c=hexToRgb(darkColor).b,r_light_c=hexToRgb(lightColor).r,g_light_c=hexToRgb(lightColor).g,b_light_c=hexToRgb(lightColor).b,r_contrast_c=hexToRgb(contrastColor).r,g_contrast_c=hexToRgb(contrastColor).g,b_contrast_c=hexToRgb(contrastColor).b;var redInput=document.getElementById("red");if(redInput){var greenInput=document.getElementById("green"),blueInput=document.getElementById("blue"),box=document.getElementById("box");redInput.setAttribute("value",""+r),redInput.setAttribute("min",""+r-30+""),redInput.setAttribute("max",""+r),greenInput.setAttribute("value",""+g),greenInput.setAttribute("min",""+g-30+""),greenInput.setAttribute("max",""+g),blueInput.setAttribute("value",""+b),blueInput.setAttribute("max",""+b),blueInput.setAttribute("min",""+b-30+""),redInput.value=r,greenInput.value=g,blueInput.value=b;var redInput_sc=document.getElementById("red_sc"),greenInput_sc=document.getElementById("green_sc"),blueInput_sc=document.getElementById("blue_sc"),box_sc=document.getElementById("box_sc");redInput_sc.setAttribute("value",""+r_sc),redInput_sc.setAttribute("min",""+r_sc-30+""),redInput_sc.setAttribute("max",""+r_sc),greenInput_sc.setAttribute("value",""+g_sc),greenInput_sc.setAttribute("min",""+g_sc-30+""),greenInput_sc.setAttribute("max",""+g_sc),blueInput_sc.setAttribute("value",""+b_sc),blueInput_sc.setAttribute("max",""+b_sc),blueInput_sc.setAttribute("min",""+b_sc-30+""),redInput_sc.value=r_sc,greenInput_sc.value=g_sc,blueInput_sc.value=b_sc;var redInput_btn=document.getElementById("red_btn"),greenInput_btn=document.getElementById("green_btn"),blueInput_btn=document.getElementById("blue_btn"),box_btn=document.getElementById("box_btn");redInput_btn.setAttribute("value",""+r_btn),redInput_btn.setAttribute("min",""+r_btn-30+""),redInput_btn.setAttribute("max",""+r_btn),greenInput_btn.setAttribute("value",""+g_btn),greenInput_btn.setAttribute("min",""+g_btn-30+""),greenInput_btn.setAttribute("max",""+g_btn),blueInput_btn.setAttribute("value",""+b_btn),blueInput_btn.setAttribute("max",""+b_btn),blueInput_btn.setAttribute("min",""+b_btn-30+""),redInput_btn.value=r_btn,greenInput_btn.value=g_btn,blueInput_btn.value=b_btn;var redInput_mn=document.getElementById("red_mn"),greenInput_mn=document.getElementById("green_mn"),blueInput_mn=document.getElementById("blue_mn"),box_mn=document.getElementById("box_mn");redInput_mn.setAttribute("value",""+r_mn),redInput_mn.setAttribute("min",""+r_mn-30+""),redInput_mn.setAttribute("max",""+r_mn),greenInput_mn.setAttribute("value",""+g_mn),greenInput_mn.setAttribute("min",""+g_mn-30+""),greenInput_mn.setAttribute("max",""+g_mn),blueInput_mn.setAttribute("value",""+b_mn),blueInput_mn.setAttribute("max",""+b_mn),blueInput_mn.setAttribute("min",""+b_mn-30+""),redInput_mn.value=r_mn,greenInput_mn.value=g_mn,blueInput_mn.value=b_mn;var redInput_foot=document.getElementById("red_footer"),greenInput_foot=document.getElementById("green_footer"),blueInput_foot=document.getElementById("blue_footer"),box_foot=document.getElementById("box_footer");redInput_foot.setAttribute("value",""+r_foot),redInput_foot.setAttribute("min",""+r_foot-30+""),redInput_foot.setAttribute("max",""+r_foot),greenInput_foot.setAttribute("value",""+g_foot),greenInput_foot.setAttribute("min",""+g_foot-30+""),greenInput_foot.setAttribute("max",""+g_foot),blueInput_foot.setAttribute("value",""+b_foot),blueInput_foot.setAttribute("max",""+b_foot),blueInput_foot.setAttribute("min",""+b_foot-30+""),redInput_foot.value=r_foot,green
1Input_foot.value=g_foot,blueInput_foot.value=b_foot;var redInput_fn=document.getElementById("red_footernav"),greenInput_fn=document.getElementById("green_footernav"),blueInput_fn=document.getElementById("blue_footernav"),box_fn=document.getElementById("box_footernav");redInput_fn.setAttribute("value",""+r_fn),redInput_fn.setAttribute("min",""+r_fn-30+""),redInput_fn.setAttribute("max",""+r_fn),greenInput_fn.setAttribute("value",""+g_fn),greenInput_fn.setAttribute("min",""+g_fn-30+""),greenInput_fn.setAttribute("max",""+g_fn),blueInput_fn.setAttribute("value",""+b_fn),blueInput_fn.setAttribute("max",""+b_fn),blueInput_fn.setAttribute("min",""+b_fn-30+""),redInput_fn.value=r_fn,greenInput_fn.value=g_fn,blueInput_fn.value=b_fn;var redInput_dark_c=document.getElementById("red_dark_c"),greenInput_dark_c=document.getElementById("green_dark_c"),blueInput_dark_c=document.getElementById("blue_dark_c");redInput_dark_c.setAttribute("value",""+r_dark_c),redInput_dark_c.setAttribute("min",""+r_dark_c-30+""),redInput_dark_c.setAttribute("max",""+r_dark_c),greenInput_dark_c.setAttribute("value",""+g_dark_c),greenInput_dark_c.setAttribute("min",""+g_dark_c-30+""),greenInput_dark_c.setAttribute("max",""+g_dark_c),blueInput_dark_c.setAttribute("value",""+b_dark_c),blueInput_dark_c.setAttribute("max",""+b_dark_c),blueInput_dark_c.setAttribute("min",""+b_dark_c-30+""),redInput_dark_c.value=r_dark_c,greenInput_dark_c.value=g_dark_c,blueInput_dark_c.value=b_dark_c;var redInput_light_c=document.getElementById("red_light_c"),greenInput_light_c=document.getElementById("green_light_c"),blueInput_light_c=document.getElementById("blue_light_c");redInput_light_c.setAttribute("value",""+r_light_c),redInput_light_c.setAttribute("min",""+r_light_c-30+""),redInput_light_c.setAttribute("max",""+r_light_c),greenInput_light_c.setAttribute("value",""+g_light_c),greenInput_light_c.setAttribute("min",""+g_light_c-30+""),greenInput_light_c.setAttribute("max",""+g_light_c),blueInput_light_c.setAttribute("value",""+b_light_c),blueInput_light_c.setAttribute("max",""+b_light_c),blueInput_light_c.setAttribute("min",""+b_light_c-30+""),redInput_light_c.value=r_light_c,greenInput_light_c.value=g_light_c,blueInput_light_c.value=b_light_c;var redInput_contrast_c=document.getElementById("red_contrast_c"),greenInput_contrast_c=document.getElementById("green_contrast_c"),blueInput_contrast_c=document.getElementById("blue_contrast_c");redInput_contrast_c.setAttribute("value",""+r_contrast_c),redInput_contrast_c.setAttribute("min",""+r_contrast_c-30+""),redInput_contrast_c.setAttribute("max",""+r_contrast_c),greenInput_contrast_c.setAttribute("value",""+g_contrast_c),greenInput_contrast_c.setAttribute("min",""+g_contrast_c-30+""),greenInput_contrast_c.setAttribute("max",""+g_contrast_c),blueInput_contrast_c.setAttribute("value",""+b_contrast_c),blueInput_contrast_c.setAttribute("max",""+b_contrast_c),blueInput_contrast_c.setAttribute("min",""+b_contrast_c-30+""),redInput_contrast_c.value=r_contrast_c,greenInput_contrast_c.value=g_contrast_c,blueInput_contrast_c.value=b_contrast_c;let e=document.getElementById("contrast");function myColour(){document.cookie="hasContrast=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",e.value=0;var t=document.getElementById("red").value,o=document.getElementById("green").value,n=document.getElementById("blue").value,r="rgb("+t+","+o+","+n+")";document.documentElement.style.setProperty("--primary-color",r),document.getElementById("box").value=r,setCookie("rgb",r),setCookie("red",t),setCookie("green",o),setCookie("blue",n);const c=redInput.value/(redInput.max-redInput.min);let l=(c*(redInput_sc.max-redInput_sc.min)+parseInt(redInput_sc.min)-redInput.min).toString();redInput_sc.value=c*(redInput_sc.max-redInput_sc.min)+parseInt(redInput_sc.min)-redInput.min;const u=greenInput.value/(greenInput.max-greenInput.min);let d=(u*(greenInput_sc.max-greenInput_sc.min)+parseInt(greenInput_sc.min)-greenInput.min).toString();greenInput_sc.value=u*(greenInput_sc.max-greenInput_sc.min)+parseInt(greenInput_sc.min)-greenInput.min;const a=blueInput.value/(blueInput.max-blueInput.min);let m=(a*(blueInput_sc.max-blueInput_sc.min)+parseInt(blueInput_sc.min)-blueInput.min).toString();blueInput_sc.value=a*(blueInput_sc.max-blueInput_sc.min)+parseInt(blueInput_sc.min)-blueInput.min;var s="rgb("+l+","+d+","+m+")";document.documentElement.style.setProperty("--secondary-color",s),setCookie("rgb_sc",s),setCookie("red_sc",l),setCookie("green_sc",d),setCo
1okie("blue_sc",m);const _=redInput.value/(redInput.max-redInput.min);let i=(_*(redInput_btn.max-redInput_btn.min)+parseInt(redInput_btn.min)-redInput.min).toString();redInput_btn.value=_*(redInput_btn.max-redInput_btn.min)+parseInt(redInput_btn.min)-redInput.min;const g=greenInput.value/(greenInput.max-greenInput.min);let p=(g*(greenInput_btn.max-greenInput_btn.min)+parseInt(greenInput_btn.min)-greenInput.min).toString();greenInput_btn.value=g*(greenInput_btn.max-greenInput_btn.min)+parseInt(greenInput_btn.min)-greenInput.min;const b=blueInput.value/(blueInput.max-blueInput.min);let y=(b*(blueInput_btn.max-blueInput_btn.min)+parseInt(blueInput_btn.min)-blueInput.min).toString();blueInput_btn.value=b*(blueInput_btn.max-blueInput_btn.min)+parseInt(blueInput_btn.min)-blueInput.min;var k="rgb("+i+","+p+","+y+")";document.documentElement.style.setProperty("--button-background-color",k),setCookie("rgb_btn",k),setCookie("red_btn",i),setCookie("green_btn",p),setCookie("blue_btn",y);const I=redInput.value/(redInput.max-redInput.min);let h=(I*(redInput_mn.max-redInput_mn.min)+parseInt(redInput_mn.min)-redInput.min).toString();redInput_mn.value=I*(redInput_mn.max-redInput_mn.min)+parseInt(redInput_mn.min)-redInput.min;const v=greenInput.value/(greenInput.max-greenInput.min);let f=(v*(greenInput_mn.max-greenInput_mn.min)+parseInt(greenInput_mn.min)-greenInput.min).toString();greenInput_mn.value=v*(greenInput_mn.max-greenInput_mn.min)+parseInt(greenInput_mn.min)-greenInput.min;const E=blueInput.value/(blueInput.max-blueInput.min);let C=(E*(blueInput_mn.max-blueInput_mn.min)+parseInt(blueInput_mn.min)-blueInput.min).toString();blueInput_mn.value=E*(blueInput_mn.max-blueInput_mn.min)+parseInt(blueInput_mn.min)-blueInput.min;var P="rgb("+h+","+f+","+C+")";document.documentElement.style.setProperty("--main-navigation-toolbar-color",P),setCookie("rgb_mn",P),setCookie("red_mn",h),setCookie("green_mn",f),setCookie("blue_mn",C);const S=redInput.value/(redInput.max-redInput.min);let x=(S*(redInput_foot.max-redInput_foot.min)+parseInt(redInput_foot.min)-redInput.min).toString();redInput_foot.value=S*(redInput_foot.max-redInput_foot.min)+parseInt(redInput_foot.min)-redInput.min;const T=greenInput.value/(greenInput.max-greenInput.min);let B=(T*(greenInput_foot.max-greenInput_foot.min)+parseInt(greenInput_foot.min)-greenInput.min).toString();greenInput_foot.value=T*(greenInput_foot.max-greenInput_foot.min)+parseInt(greenInput_foot.min)-greenInput.min;const A=blueInput.value/(blueInput.max-blueInput.min);let V=(A*(blueInput_foot.max-blueInput_foot.min)+parseInt(blueInput_foot.min)-blueInput.min).toString();blueInput_foot.value=A*(blueInput_foot.max-blueInput_foot.min)+parseInt(blueInput_foot.min)-blueInput.min;var L="rgb("+x+","+B+","+V+")";document.documentElement.style.setProperty("--footer-color",L),setCookie("rgb_foot",L),setCookie("red_foot",x),setCo
1okie("green_foot",B),setCookie("blue_foot",V);const J=redInput.value/(redInput.max-redInput.min);let U=(J*(redInput_fn.max-redInput_fn.min)+parseInt(redInput_fn.min)-redInput.min).toString();redInput_fn.value=J*(redInput_fn.max-redInput_fn.min)+parseInt(redInput_fn.min)-redInput.min;const R=greenInput.value/(greenInput.max-greenInput.min);let N=(R*(greenInput_fn.max-greenInput_fn.min)+parseInt(greenInput_fn.min)-greenInput.min).toString();greenInput_fn.value=R*(greenInput_fn.max-greenInput_fn.min)+parseInt(greenInput_fn.min)-greenInput.min;const q=blueInput.value/(blueInput.max-blueInput.min);let w=(q*(blueInput_fn.max-blueInput_fn.min)+parseInt(blueInput_fn.min)-blueInput.min).toString();blueInput_fn.value=q*(blueInput_fn.max-blueInput_fn.min)+parseInt(blueInput_fn.min)-blueInput.min;var z="rgb("+U+","+N+","+w+")";document.documentElement.style.setProperty("--footernav-color",z),setCookie("rgb_fn",z),setCookie("red_fn",U),setCookie("green_fn",N),setCookie("blue_fn",w);const H=redInput.value/(redInput.max-redInput.min);let O=(H*(redInput_dark_c.max-redInput_dark_c.min)+parseInt(redInput_dark_c.min)-redInput.min).toString();redInput_dark_c.value=H*(redInput_dark_c.max-redInput_dark_c.min)+parseInt(redInput_dark_c.min)-redInput.min;const K=greenInput.value/(greenInput.max-greenInput.min);let F=(K*(greenInput_dark_c.max-greenInput_dark_c.min)+parseInt(greenInput_dark_c.min)-greenInput.min).toString();greenInput_dark_c.value=K*(greenInput_dark_c.max-greenInput_dark_c.min)+parseInt(greenInput_dark_c.min)-greenInput.min;const M=blueInput.value/(blueInput.max-blueInput.min);let $=(M*(blueInput_dark_c.max-blueInput_dark_c.min)+parseInt(blueInput_dark_c.min)-blueInput.min).toString();blueInput_dark_c.value=M*(blueInput_dark_c.max-blueInput_dark_c.min)+parseInt(blueInput_dark_c.min)-blueInput.min;var j="rgb("+O+","+F+","+$+")";document.documentElement.style.setProperty("--dark-color",j),document.getElementById("box").value=j,setCookie("rgb_dark_c",j),setCookie("red_dark_c",O),setCookie("green_dark_c",F),setCookie("blue_dark_c",$);const D=redInput.value/(redInput.max-redInput.min);let G=(D*(redInput_light_c.max-redInput_light_c.min)+parseInt(redInput_light_c.min)-redInput.min).toString();redInput_light_c.value=D*(redInput_light_c.max-redInput_light_c.min)+parseInt(redInput_light_c.min)-redInput.min;const Q=greenInput.value/(greenInput.max-greenInput.min);let W=(Q*(greenInput_light_c.max-greenInput_light_c.min)+parseInt(greenInput_light_c.min)-greenInput.min).toString();greenInput_light_c.value=Q*(greenInput_light_c.max-greenInput_light_c.min)+parseInt(greenInput_light_c.min)-greenInput.min;const X=blueInput.value/(blueInput.max-blueInput.min);let Y=(X*(blueInput_light_c.max-blueInput_light_c.min)+parseInt(blueInput_light_c.min)-blueInput.min).toString();blueInput_light_c.value=X*(blueInput_light_c.max-blueInput_light_c.min)+parseInt(blueInput_light_c.min)-blueInput.min;var Z="rgb("+G+","+W+","+Y+")";document.documentElement.style.setProperty("--light-color",Z),document.getElementById("box_sc").value=Z,setCookie("rgb_light_c",Z),setCookie("red_light_c",G),setCookie("green_light_c",W),setCookie("blue_light_c",Y);const ee=redInput.value/(redInput.max-redInput.min);let te=(ee*(redInput_contrast_c.max-redInput_contrast_c.min)+parseInt(redInput_contrast_c.min)-redInput.min).toString();redInput_contrast_c.value=ee*(redInput_contrast_c.max-redInput_contrast_c.min)+parseInt(redInput_contrast_c.min)-redInput.min;const oe=greenInput.value/(greenInput.max-greenInput.min);let ne=(oe*(greenInput_contrast_c.max-greenInput_contrast_c.min)+parseInt(greenInput_contrast_c.min)-greenInput.min).toString();greenInput_contrast_c.value=oe*(greenInput_contrast_c.max-greenInput_contrast_c.min)+parseInt(greenInput_contrast_c.min)-greenInput.min;const re=blueInput.value/(blueInput.max-blueInput.min);let ce=(re*(blueInput_contrast_c.max-blueInput_contrast_c.min)+parseInt(blueInput_contrast_c.min)-blueInput.min).toString();blueInput_contrast_c.value=re*(blueInput_contrast_c.max-blueInput_contrast_c.min)+parseInt(blueInput_contrast_c.min)-blueInput.min;var le="rgb("+te+","+ne+","+ce+")";document.documentElement.style.setProperty("--contrast-color",le),setCookie("rgb_contrast_c",le),setCookie("red_contrast_c",te),setCookie("green_contrast_c",ne),setCookie("blue_contrast_c",ce)}let t=document.querySelector("#red_0"),o=document.querySelector("#red_50"),n=document.querySelector("#red_100"),
1c=document.querySelector("#green_0"),l=document.querySelector("#green_50"),u=document.querySelector("#green_100"),d=document.querySelector("#blue_0"),a=document.querySelector("#blue_50"),m=document.querySelector("#blue_100"),s=document.querySelector("#contrast_0"),_=document.querySelector("#contrast_50"),i=document.querySelector("#contrast_100");function directBTNSSwitch_r(e){let t=document.querySelectorAll(".direct-0-50.r");for(let o=0;o<t.length;o++){let n=t[o].querySelectorAll(".direct-btn");for(let t=0;t<n.length;t++){let o=e.target,r=e.target.getAttribute("id");if(setCookie("directBtn_red",r),o.classList.contains("selected"));else{n[t].classList.remove("selected");for(let e=0;e<n.length;e++)n[e].classList.remove("selected");o.classList.add("selected")}}}}function directBTNSSwitch_g(e){let t=document.querySelectorAll(".direct-0-50.g");for(let o=0;o<t.length;o++){let n=t[o].querySelectorAll(".direct-btn");for(let t=0;t<n.length;t++){let o=e.target,r=e.target.getAttribute("id");if(setCookie("directBtn_green",r),o.classList.contains("selected"));else{n[t].classList.remove("selected");for(let e=0;e<n.length;e++)n[e].classList.remove("selected");o.classList.add("selected")}}}}function directBTNSSwitch_b(e){let t=document.querySelectorAll(".direct-0-50.b");for(let o=0;o<t.length;o++){let n=t[o].querySelectorAll(".direct-btn");for(let t=0;t<n.length;t++){let o=e.target,r=e.target.getAttribute("id");if(setCookie("directBtn_blue",r),o.classList.contains("selected"));else{n[t].classList.remove("selected");for(let e=0;e<n.length;e++)n[e].classList.remove("selected");o.classList.add("selected")}}}}function directBTNSSwitch_c(e){let t=document.querySelectorAll(".direct-0-50.c");for(let o=0;o<t.length;o++){let n=t[o].querySelectorAll(".direct-btn");for(let t=0;t<n.length;t++){let o=e.target,r=e.target.getAttribute("id");if(setCookie("directBtn_contrast",r),o.classList.contains("selected"));else{n[t].classList.remove("selected");for(let e=0;e<n.length;e++)n[e].classList.remove("selected");o.classList.add("selected")}}}}t.onclick=function(){redInput.value=r-30,directBTNSSwitch_r(event)},o.onclick=function(){redInput.value=r-15,directBTNSSwitch_r(event)},n.onclick=function(){redInput.value=r,directBTNSSwitch_r(event)},c.onclick=function(){greenInput.value=g-30,directBTNSSwitch_g(event)},l.onclick=function(){greenInput.value=g-15,directBTNSSwitch_g(event)},u.onclick=function(){greenInput.value=g,directBTNSSwitch_g(event)},d.onclick=function(){blueInput.value=b-30,directBTNSSwitch_b(event)},a.onclick=function(){blueInput.value=b-15,directBTNSSwitch_b(event)},m.onclick=function(){blueInput.value=b,directBTNSSwitch_b(event)},s.onclick=function(){e.value=0,directBTNSSwitch_c(event)},_.onclick=function(){e.value=5,directBTNSSwitch_c(event)},i.onclick=function(){e.value=10,directBTNSSwitch_c(event)},document.getElementById("red").addEventListener("input",(()=>{myColour()})),document.getElementById("red_sc").addEventListener("input",(()=>{myColour()})),t.addEventListener("click",(()=>{myColour(),directBTNSSwitch_r(event)})),o.addEventListener("click",(()=>{myColour(),directBTNSSwitch_r(event)})),n.addEventListener("click",(()=>{myColour(),directBTNSSwitch_r(event)})),d.addEventListener("click",(()=>{myColour(),directBTNSSwitch_b(event)})),a.addEventListener("click",(()=>{myColour(),directBTNSSwitch_b(event)})),m.addEventListener("click",(()=>{myColour(),directBTNSSwitch_b(event)})),document.getElementById("green").addEventListener("input",myColour),c.addEventListener("click",(()=>{myColour(),directBTNSSwitch_g(event)})),l.addEventListener("click",(()=>{myColour(),directBTNSSwitch_g(event)})),u.addEventListener("click",(()=>{myColour(),directBTNSSwitch_g(event)})),s.addEventListener("click",(()=>{setContrast(),directBTNSSwitch_c(event)})),_.addEventListener("click",(()=>{setContrast(),directBTNSSwitch_c(event)})),i.addEventListener("click",(()=>{setContrast(),directBTNSSwitch_c(event)})),document.getElementById("blue").addEventListener("input",myColour),document.getElementById("red_sc").addEventListener("input",myColour),document.getElementById("green_sc").addEventListener("input",myColour),document.getElementById("blue_sc").addEventListener("input",myColour),document.getElementById("red_dark_c").addEventListener("input",myColour),document.getElementById("red_light_c").addEventListener("input",myColour),document.getElementById("red_contrast_c").addEventListener("input",myColour),document.getElementById("green_dark_c").addEventListener("input",myColour),document.getElementById("green_light_c").addEventListener("input",myColour),document.getElementById("green_contrast_c").addEventListener("input",myColour),document.getElementById("blue_dark_c").addEventListener("input",myColour),document.getElementById("blue_light_c").addEventListener("input",myColour),document.getElementById("blue_contrast_c").addEventListener("input",myColour)}let directBtn_red=getCookie("directBtn_red");directBtn_red&&document.getElementById(directBtn_red).classList.add("selected");let directBtn_green=getCookie("directBtn_green");directBtn_green&&document.getElementById(directBtn_green).classList.add("selected");let directBtn_blue=getCookie("directBtn_blue");directBtn_blue&&document.getElementById(directBtn_blue).classList.add("selected");let directBtn_contrast=getCookie("directBtn_contrast");directBtn_contrast&&document.getElementById(directBtn_contrast).classList.add("selected");let contrastInput=document.getElementById("contrast"),isContrast=document.getElementById("contrast");if(contrastInput){var originalColor=tinycolor(originalRootColor),secondaryColor=tinycolor(secondaryRootColor),buttonColor=tinycolor(buttonRootColor),mainNavColor=tinycolor(mainNavRootColor),footerColor=tinycolor(footerRootColor),footerNavColor=tinycolor(footerNavRootColor),dark_cColor=tinycolor(darkColor),light_cColor=tinycolor(lightColor),contrast_cColor=tinycolor(contrastColor),dark1=originalColor.darken(4).toString(),dark2=originalColor.darken(4).toString(),dark3=originalColor.darken(4).toString(),dark4=originalColor.darken(4).toString(),dark5=originalColor.darken(4).toString(),dark6=originalColor.darken(4).toString(),dark7=originalColor.darken(4).toString(),dark8=originalColor.darken(4).toString(),dark9=originalColor.darken(4).toString(),dark10=originalColor.darken(4).toString(),dark1_sc=secondaryColor.darken(4).toString(),dark2_sc=secondaryColor.darken(4).toString(),dark3_sc=secondaryColor.darken(4).toString(),dark4_sc=secondaryColor.darken(4).toString(),dark5_sc=secondaryColor.darken(4).toString(),dark6_sc=secondaryColor.darken(4).toString(),dark7_sc=secondaryColor.darken(4).toString(),dark8_sc=secondaryColor.darken(4).toString(),dark9_sc=secondaryColor.darken(4).toString(),dark10_sc=secondaryColor.darken(4).toString(),dark1_btn=buttonColor.darken(4).toString(),dark2_btn=buttonColor.darken(4).toString(),dark3_btn=buttonColor.darken(4).toString(),dark4_btn=buttonColor.darken(4).toString(),dark5_btn=buttonColor.darken(4).toString(),dark6_btn=buttonColor.darken(4).toString(),dark7_btn=buttonColor.darken(4).toString(),dark8_btn=buttonColor.darken(4).toString(),dark9_btn=buttonColor.darken(4).toString(),dark10_btn=buttonColor.darken(4).toString(),dark1_mn=mainNavColor.darken(4).toString(),dark2_mn=mainNavColor.darken(4).toString(),dark3_mn=mainNavColor.darken(4).toString(),dark4_mn=mainNavColor.darken(4).toString(),dark5_mn=mainNavColor.darken(4).toString(),dark6_mn=mainNavColor.darken(4).toString(),dark7_mn=mainNavColor.darken(4).toString(),dark8_mn=mainNavColor.darken(4).toString(),dark9_mn=mainNavColor.darken(4).toString(),dark10_mn=mainNavColor.darken(4).toString(),dark1_foot=footerColor.darken(4).toString(),dark2_foot=footerColor.darken(4).toString(),dark3_foot=footerColor.darken(4).toString(),dark4_foot=footerColor.darken(4).toString(),dark5_foot=footerColor.darken(4).toString(),dark6_foot=footerColor.darken(4).toString(),dark7_foot=footerColor.darken(4).toString(),dark8_foot=footerColor.darken(4).toString(),dark9_foot=footerColor.darken(4).toString(),dark10_foot=footerColor.darken(4).toString(),dark1_fn=footerNavColor.darken(4).toString(),dark2_fn=footerNavColor.darken(4).toString(),dark3_fn=footerNavColor.darken(4).toString(),dark4_fn=footerNavColor.darken(4).toString(),dark5_fn=footerNavColor.darken(4).toString(),dark6_fn=footerNavColor.darken(4).toString(),dark7_fn=footerNavColor.darken(4).toString(),dark8_fn=footerNavColor.darken(4).toString(),dark9_fn=footerNavColor.darken(4).toString(),dark10_fn=footerNavColor.darken(4).toString(),dark1_dark_c=dark_cColor.darken(4).toString(),dark2_dark_c=dark_cColor.darken(4).toString(),dark3_dark_c=dark_cColor.darken(4).toString(),dark4_dark_c=dark_cColor.darken(4).toString(),dark5_dark_c=dark_cColor.darken(4).toString(),dark6_dark_c=dark_cColor.darken(4).toString(),dark7_dark_c=dark_cColor.darken(4).toString(),dark8_dark_c=dark_cColor.darken(4).toString(),dark9_dark_c=dark_cColor.darken(4).toString(),dark10_dark_c=dark_cColor.darken(4).toString(),dark1_light_c=light_cColor.darken(4).toString(),dark2_light_c=light_cColor.darken(4).toString(),dark3_light_c=light_cColor.darken(4).toString(),dark4_light_c=light_cColor.darken(4).toString(),dark5_light_c=light_cColor.darken(4).toString(),dark6_light_c=light_cColor.darken(4).toString(),dark7_light_c=light_cColor.darken(4).toString(),dark8_light_c=light_cColor.darken(4).toString(),dark9_light_c=light_cColor.darken(4).toString(),dark10_light_c=light_cColor.darken(4).toString(),dark1_contrast_c=contrast_cColor.darken(4).toString(),dark2_contrast_c=contrast_cColor.darken(4).toString(),dark3_contrast_c=contrast_cColor.darken(4).toString(),dark4_contrast_c=contrast_cColor.darken(4).toString(),dark5_contrast_c=contrast_cColor.darken(4).toString(),dark6_contrast_c=contrast_cColor.darken(4).toString(),dark7_contrast_c=contrast_cColor.darken(4).toString(),dark8_contrast_c=contrast_cColor.darken(4).toString(),dark9_contrast_c=contrast_cColor.darken(4).toString(),dark10_contrast_c=contrast_cColor.darken(4).toString();function setContrast(){document.cookie="rgb=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="red=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="green=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="blue=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="rgb_sc=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="red_sc=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="green_sc=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="blue_sc=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="rgb_btn=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="red_btn=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="green_btn=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="blue_btn=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="rgb_dark_c=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="red_dark_c=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="green_dark_c=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="blue_dark_c=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="rgb_light_c=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="red_light_c=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="green_light_c=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="blue_light_c=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="rgb_contrast_c=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="red_contrast_c=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="green_contrast_c=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="blue_contrast_c=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="directBtn_red=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="directBtn_green=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="directBtn_blue=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",redInput.value=r,greenInput.value=g,blueInput.value=b;let e=document.querySelectorAll(".direct-btn");for(let t=0;t<e.length;t++)e[t].classList.remove("selected");let t=parseInt(document.getElementById("contrast").value);setCookie("hasContrast",t),t>0?document.body.classList.add("set_white_color"):0===t&&document.body.classList.remove("set_white_color"),0==t&&(document.documentElement.style.setProperty("--primary-color",originalRootColor),document.documentElement.style.setProperty("--secondary-color",secondaryRootColor),document.documentElement.style.setProperty("--button-background-color",buttonRootColor),document.documentElement.style.setProperty("--main-navigation-toolbar-color",mainNavRootColor),document.documentElement.style.setProperty("--footer-color",footerRootColor),document.documentElement.style.setProperty("--footernav-color",footerNavRootColor),document.documentElement.style.setProperty("--dark-color",darkColor),document.documentElement.style.setProperty("--light-color",lightColor),document.documentElement.style.setProperty("--contrast-color",contrastColor)),1==t&&(document.documentElement.style.setProperty("--primary-color",dark1),document.documentElement.style.setProperty("--secondary-color",dark1_sc),document.documentElement.style.setProperty("--button-background-color",dark1_btn),document.documentElement.style.setProperty("--main-navigation-toolbar-color",dark1_mn),document.documentElement.style.setProperty("--footer-color",dark1_foot),document.documentElement.style.setProperty("--footernav-color",dark1_fn),document.documentElement.style.setProperty("--dark-color",dark1_dark_c),document.documentElement.style.setProperty("--light-color",dark1_light_c),document.documentElement.style.setProperty("--contrast-color",dark1_contrast_c)),2==t&&(document.documentElement.style.setProperty("--primary-color",dark2),document.documentElement.style.setProperty("--secondary-color",dark2_sc),document.documentElement.style.setProperty("--button-background-color",dark2_btn),document.documentElement.style.setProperty("--main-navigation-toolbar-color",dark2_mn),document.documentElement.style.setProperty("--footer-color",dark2_foot),document.documentElement.style.setProperty("--footernav-color",dark2_fn),document.documentElement.style.setProperty("--dark-color",dark2_dark_c),document.documentElement.style.setProperty("--light-color",dark2_light_c),document.documentElement.style.setProperty("--contrast-color",dark2_contrast_c)),3==t&&(document.documentElement.style.setProperty("--primary-color",dark3),document.documentElement.style.setProperty("--secondary-color",dark3_sc),document.documentElement.style.setProperty("--button-background-color",dark3_btn),document.documentElement.style.setProperty("--main-navigation-toolbar-color",dark3_mn),document.documentElement.style.setProperty("--footer-color",dark3_foot),document.documentElement.style.setProperty("--footernav-color",dark3_fn),document.documentElement.style.setProperty("--dark-color",dark3_dark_c),document.documentElement.style.setProperty("--light-color",dark3_light_c),document.documentElement.style.setProperty("--contrast-color",dark3_contrast_c)),4==t&&(document.documentElement.style.setProperty("--primary-color",dark4),document.documentElement.style.setProperty("--secondary-color",dark4_sc),document.documentElement.style.setProperty("--button-background-color",dark4_btn),document.documentElement.style.setProperty("--main-navigation-toolbar-color",dark4_mn),document.documentElement.style.setProperty("--footer-color",dark4_foot),document.documentElement.style.setProperty("--footernav-color",dark4_fn),document.documentElement.style.setProperty("--dark-color",dark4_dark_c),document.documentElement.style.setProperty("--light-color",dark4_light_c),document.documentElement.style.setProperty("--contrast-color",dark4_contrast_c)),5==t&&(document.documentElement.style.setProperty("--primary-color",dark5),document.documentElement.style.setProperty("--secondary-color",dark5_sc),document.documentElement.style.setProperty("--button-background-color",dark5_btn),document.documentElement.style.setProperty("--main-navigation-toolbar-color",dark5_mn),document.documentElement.style.setProperty("--footer-color",dark5_foot),document.documentE
1lement.style.setProperty("--footernav-color",dark5_fn),document.documentElement.style.setProperty("--dark-color",dark5_dark_c),document.documentElement.style.setProperty("--light-color",dark5_light_c),document.documentElement.style.setProperty("--contrast-color",dark5_contrast_c)),6==t&&(document.documentElement.style.setProperty("--primary-color",dark6),document.documentElement.style.setProperty("--secondary-color",dark6_sc),document.documentElement.style.setProperty("--button-background-color",dark6_btn),document.documentElement.style.setProperty("--main-navigation-toolbar-color",dark6_mn),document.documentElement.style.setProperty("--footer-color",dark6_foot),document.documentElement.style.setProperty("--footernav-color",dark6_fn),document.documentElement.style.setProperty("--dark-color",dark6_dark_c),document.documentElement.style.setProperty("--light-color",dark6_light_c),document.documentElement.style.setProperty("--contrast-color",dark6_contrast_c)),7==t&&(document.documentElement.style.setProperty("--primary-color",dark7),document.documentElement.style.setProperty("--secondary-color",dark7_sc),document.documentElement.style.setProperty("--button-background-color",dark7_btn),document.documentElement.style.setProperty("--main-navigation-toolbar-color",dark7_mn),document.documentElement.style.setProperty("--footer-color",dark7_foot),document.documentElement.style.setProperty("--footernav-color",dark7_fn),document.documentElement.style.setProperty("--dark-color",dark7_dark_c),document.documentElement.style.setProperty("--light-color",dark7_light_c),document.documentElement.style.setProperty("--contrast-color",dark7_contrast_c)),8==t&&(document.documentElement.style.setProperty("--primary-color",dark8),document.documentElement.style.setProperty("--secondary-color",dark8_sc),document.documentElement.style.setProperty("--button-background-color",dark8_btn),document.documentElement.style.setProperty("--main-navigation-toolbar-color",dark8_mn),document.documentElement.style.setProperty("--footer-color",dark8_foot),document.documentElement.style.setProperty("--footernav-color",dark8_fn),document.documentElement.style.setProperty("--dark-color",dark8_dark_c),document.documentElement.style.setProperty("--light-color",dark8_light_c),document.documentElement.style.setProperty("--contrast-color",dark8_contrast_c)),9==t&&(document.documentElement.style.setProperty("--primary-color",dark9),document.documentElement.style.setProperty("--secondary-color",dark9_sc),document.documentElement.style.setProperty("--button-background-color",dark9_btn),document.documentElement.style.setProperty("--main-navigation-toolbar-color",dark9_mn),document.documentElement.style.setProperty("--footer-color",dark8_foot),document.documentElement.style.setProperty("--footernav-color",dark9_fn),document.documentElement.style.setProperty("--dark-color",dark9_dark_c),document.documentElement.style.setProperty("--light-color",dark9_light_c),document.documentElement.style.setProperty("--contrast-color",dark9_contrast_c)),10==t&&(document.documentElement.style.setProperty("--primary-color",dark10),document.documentElement.style.setProperty("--secondary-color",dark10_sc),document.documentElement.style.setProperty("--button-background-color",dark10_btn),document.documentElement.style.setProperty("--main-navigation-toolbar-color",dark10_mn),document.documentElement.style.setProperty("--footer-color",dark10_foot),document.documentElement.style.setProperty("--footernav-color",dark10_fn),document.documentElement.style.setProperty("--dark-color",dark10_dark_c),document.documentElement.style.setProperty("--light-color",dark10_light_c),document.documentElement.style.setProperty("--contrast-color",dark10_contrast_c))}document.getElementById("contrast").addEventListener("input",setContrast),document.getElementById("contrast").addEventListener("input",directBTNSSwitch_c);let p=getCookie("hasContrast");p&&(contrastInput.value=p),p>0?document.body.classList.add("set_white_color"):0===p&&document.body.classList.remove("set_white_color"),"1"===p&&(document.documentElement.style.setProperty("--primary-color",dark1),document.documentElement.style.setProperty("--secondary-color",dark1_sc),document.documentElement.style.setProperty("--button-background-color",dark1_btn),document.documentElement.style.setProperty("--main-navigation-toolbar-color",dark1_mn),document.documentElement.style.setProperty("--footer-color",dark1_foot),document.documentElement.style.setProperty("--footernav-color",dark1_fn),document.documentElement.style.setProperty("--dark-color",dark1_dark_c),document.documentElement.style.setProperty("--light-color",dark1_light_c),document.documentElement.style.setProperty("--contrast-color",dark1_contrast_c)),"2"===p&&(document.documentElement.style.setProperty("--primary-color",dark2),document.documentElement.style.setProperty("--secondary-color",dark2_sc),document.documentElement.style.setProperty("--button-background-color",dark2_btn),document.documentElement.style.setProperty("--main-navigation-toolbar-color",dark2_mn),document.documentElement.style.setProperty("--footer-color",dark2_foot),document.documentElement.style.setProperty("--footernav-color",dark2_fn),document.documentElement.style.setProperty("--dark-color",dark2_dark_c),document.documentElement.style.setProperty("--light-color",dark2_light_c),document.documentElement.style.setProperty("--contrast-color",dark2_contrast_c)),"3"===p&&(document.documentElement.style.setProperty("--primary-color",dark3),document.documentElement.style.setProperty("--secondary-color",dark3_sc),document.documentElement.style.setProperty("--button-background-color",dark3_btn),document.documentElement.style.setProperty("--main-navigation-toolbar-color",dark3_mn),document.documentElement.style.setProperty("--footer-color",dark3_foot),document.documentElement.style.setProperty("--footernav-color",dark3_fn),document.documentElement.style.setProperty("--dark-color",dark3_dark_c),document.documentElement.style.setProperty("--light-color",dark3_light_c),document.documentElement.style.setProperty("--contrast-color",dark3_contrast_c)),"4"===p&&(document.documentElement.style.setProperty("--primary-color",dark4),document.documentElement.style.setProperty("--secondary-color",dark4_sc),document.documentElement.style.setProperty("--button-background-color",dark4_btn),document.documentElement.style.setProperty("--main-navigation-toolbar-color",dark4_mn),document.documentElement.style.setProperty("--footer-color",dark4_foot),document.documentElement.style.setProperty("--footernav-color",dark4_fn),document.documentElement.style.setProperty("--dark-color",dark4_dark_c),document.documentElement.style.setProperty("--light-color",dark4_light_c),document.documentElement.style.setProperty("--contrast-color",dark4_contrast_c)),"5"===p&&(document.documentElement.style.setProperty("--primary-color",dark5),document.documentElement.style.setProperty("--secondary-color",dark5_sc),document.documentElement.style.setProperty("--button-background-color",dark5_btn),document.documentElement.style.setProperty("--main-navigation-toolbar-color",dark5_mn),document.documentElement.style.setProperty("--footer-color",dark5_foot),document.documentElement.style.setProperty("--footernav-color",dark5_fn),document.documentElement.style.setProperty("--dark-color",dark5_dark_c),document.documentElement.style.setProperty("--light-color",dark5_light_c),document.documentElement.style.setProperty("--contrast-color",dark5_contrast_c)),"6"===p&&
1(document.documentElement.style.setProperty("--primary-color",dark6),document.documentElement.style.setProperty("--secondary-color",dark6_sc),document.documentElement.style.setProperty("--button-background-color",dark6_btn),document.documentElement.style.setProperty("--main-navigation-toolbar-color",dark6_mn),document.documentElement.style.setProperty("--footer-color",dark6_foot),document.documentElement.style.setProperty("--footernav-color",dark6_fn),document.documentElement.style.setProperty("--dark-color",dark6_dark_c),document.documentElement.style.setProperty("--light-color",dark6_light_c),document.documentElement.style.setProperty("--contrast-color",dark6_contrast_c)),"7"===p&&(document.documentElement.style.setProperty("--primary-color",dark7),document.documentElement.style.setProperty("--secondary-color",dark7_sc),document.documentElement.style.setProperty("--button-background-color",dark7_btn),document.documentElement.style.setProperty("--main-navigation-toolbar-color",dark7_mn),document.documentElement.style.setProperty("--footer-color",dark7_foot),document.documentElement.style.setProperty("--footernav-color",dark7_fn),document.documentElement.style.setProperty("--dark-color",dark7_dark_c),document.documentElement.style.setProperty("--light-color",dark7_light_c),document.documentElement.style.setProperty("--contrast-color",dark7_contrast_c)),"8"===p&&(document.documentElement.style.setProperty("--primary-color",dark8),document.documentElement.style.setProperty("--secondary-color",dark8_sc),document.documentElement.style.setProperty("--button-background-color",dark8_btn),document.documentElement.style.setProperty("--main-navigation-toolbar-color",dark8_mn),document.documentElement.style.setProperty("--footer-color",dark8_foot),document.documentElement.style.setProperty("--footernav-color",dark8_fn),document.documentElement.style.setProperty("--dark-color",dark8_dark_c),document.documentElement.style.setProperty("--light-color",dark8_light_c),document.documentElement.style.setProperty("--contrast-color",dark8_contrast_c)),"9"===p&&(document.documentElement.style.setProperty("--primary-color",dark9),document.documentElement.style.setProperty("--secondary-color",dark9_sc),document.documentElement.style.setProperty("--button-background-color",dark9_btn),document.documentElement.style.setProperty("--main-navigation-toolbar-color",dark9_mn),document.documentElement.style.setProperty("--footer-color",dark9_foot),document.documentElement.style.setProperty("--footernav-color",dark9_fn),document.documentElement.style.setProperty("--dark-color",dark9_dark_c),document.documentElement.style.setProperty("--light-color",dark9_light_c),document.documentElement.style.setProperty("--contrast-color",dark9_contrast_c)),"10"===p&&(document.documentElement.style.setProperty("--primary-color",dark10),document.documentElement.style.setProperty("--secondary-color",dark10_sc),document.documentElement.style.setProperty("--button-background-color",dark10_btn),document.documentElement.style.setProperty("--main-navigation-toolbar-color",dark10_mn),document.documentElement.style.setProperty("--footer-color",dark10_foot),document.documentElement.style.setProperty("--footernav-color",dark10_fn),document.documentElement.style.setProperty("--dark-color",dark10_dark_c),document.documentElement.style.setProperty("--light-color",dark10_light_c),document.documentElement.style.setProperty("--contrast-color",dark10_contrast_c))}let isFontSize=document.querySelector(".plus");if(isFontSize){const y=document.querySelector(".plus"),k=document.querySelector(".minus"),I=document.querySelector(".num");let h=parseInt(I.innerText);y.addEventListener("click",(()=>{h<5&&(h++,h=h>5?""+h:h,I.innerText=h,document.body.classList.add("font-size-"+h),setCookie("fontSize","font-size-"+h))})),k.addEventListener("click",(()=>{h>1&&(h--,h=h<5?""+h:h,I.innerText=h,document.body.classList.remove("font-size-"+(parseInt(I.innerText)+1)),setCookie("fontSize","font-size-"+parseInt(I.innerText)))}))}let isLineHeight=document.querySelector(".plus_lh");if(isLineHeight){const v=document.querySelector(".plus_lh"),f=document.querySelector(".minus_lh"),E=document.querySelector(".num_lh");
1let C=parseInt(E.innerText);v.addEventListener("click",(()=>{C<5&&(C++,C=C>5?""+C:C,E.innerText=C,document.body.classList.add("line-height-"+C),setCookie("lineHeight","line-height-"+C))})),f.addEventListener("click",(()=>{C>1&&(C--,C=C<5?""+C:C,E.innerText=C,document.body.classList.remove("line-height-"+(parseInt(E.innerText)+1)),setCookie("lineHeight","line-height-"+parseInt(E.innerText)))}))}let rgbValue=getCookie("rgb"),redValue=getCookie("red"),greenValue=getCookie("green"),blueValue=getCookie("blue"),rgbValue_sc=getCookie("rgb_sc"),redValue_sc=getCookie("red_sc"),greenValue_sc=getCookie("green_sc"),blueValue_sc=getCookie("blue_sc"),rgbValue_btn=getCookie("rgb_btn"),redValue_btn=getCookie("red_btn"),greenValue_btn=getCookie("green_btn"),blueValue_btn=getCookie("blue_btn"),rgbValue_mn=getCookie("rgb_mn"),redValue_mn=getCookie("red_mn"),greenValue_mn=getCookie("green_mn"),blueValue_mn=getCookie("blue_mn"),rgbValue_foot=getCookie("rgb_foot"),redValue_foot=getCookie("red_foot"),greenValue_foot=getCookie("green_foot"),blueValue_foot=getCookie("blue_foot"),rgbValue_fn=getCookie("rgb_fn"),redValue_fn=getCookie("red_fn"),greenValue_fn=getCookie("green_fn"),blueValue_fn=getCookie("blue_fn"),rgbValue_dark_c=getCookie("rgb_dark_c"),redValue_dark_c=getCookie("red_dark_c"),greenValue_dark_c=getCookie("green_dark_c"),blueValue_dark_c=getCookie("blue_dark_c"),rgbValue_light_c=getCookie("rgb_light_c"),redValue_light_c=getCookie("red_light_c"),greenValue_light_c=getCookie("green_light_c"),blueValue_light_c=getCookie("blue_light_c"),rgbValue_contrast_c=getCookie("rgb_contrast_c"),redValue_contrast_c=getCookie("red_contrast_c"),greenValue_contrast_c=getCookie("green_contrast_c"),blueValue_contrast_c=getCookie("blue_contrast_c");rgbValue&&(document.documentElement.style.setProperty("--primary-color",rgbValue),document.documentElement.style.setProperty("--secondary-color",rgbValue_sc),document.documentElement.style.setProperty("--button-background-color",rgbValue_btn),document.documentElement.style.setProperty("--main-navigation-toolbar-color",rgbValue_mn),document.documentElement.style.setProperty("--footer-color",rgbValue_foot),document.documentElement.style.setProperty("--footernav-color",rgbValue_fn),document.documentElement.style.setProperty("--dark-color",rgbValue_dark_c),document.documentElement.style.setProperty("--light-color",rgbValue_light_c),document.documentElement.style.setProperty("--contrast-color",rgbValue_contrast_c),document.getElementById("red").setAttribute("value",""+redValue),document.getElementById("red").value=redValue,document.getElementById("red_sc").setAttribute("value",""+redValue_sc),document.getElementById("red_sc").value=redValue_sc,document.getElementById("red_btn").setAttribute("value",""+redValue_btn),document.getElementById("red_btn").value=redValue_btn,document.getElementById("red_mn").setAttribute("value",""+redValue_mn),document.getElementById("red_mn").value=redValue_mn,document.getElementById("red_footer").setAttribute("value",""+redValue_foot),document.getElementById("red_footer").value=redValue_foot,document.getElementById("red_footernav").setAttribute("value",""+redValue_fn),document.getElementById("red_footernav").value=redValue_fn,document.getElementById("red_dark_c").setAttribute("value",""+redValue_dark_c),document.getElementById("red_dark_c").value=redValue_dark_c,document.getElementById("red_light_c").setAttribute("value",""+redValue_light_c),document.getElementById("red_light_c").value=redValue_light_c,document.getElementById("red_contrast_c").setAttribute("value",""+redValue_contrast_c),document.getElementById("red_contrast_c").value=redValue_contrast_c,document.getElementById("green").setAttribute("value",""+greenValue),document.getElementById("green").value=greenValue,document.getElementById("green_sc").setAttribute("value",""+greenValue_sc),document.getElementById("green_sc").value=greenValue_sc,document.getElementById("green_btn").setAttribute("value",""+greenValue_btn),document.getElementById("green_btn").value=greenValue_btn,document.getElementById("green_mn").setAttribute("value",""+greenValue_mn),document.getElementById("green_mn").value=greenValue_mn,document.getElementById("green_footer").setAttribute("value",""+greenValue_foot),document.getElementById("green_footer").value=greenValue_foot,document.getElementById("green_footernav").setAttribute("value",""+greenValue_fn),document.getElementById("green_footernav").value=greenValue_fn,document.getElementById("green_dark_c").setAttribute("value",""+greenValue_dark_c),document.getElementById("green_dark_c").value=greenValue_dark_c,document.getElementById("green_light_c").setAttribute("value",""+greenValue_light_c),document.getElementById("green_light_c").value=greenValue_light_c,document.getElementById("green_contrast_c").setAttribute("value",""+greenValue_contrast_c),document.getElementById("green_contrast_c").value=greenValue_contrast_c,document.getElementById("blue").setAttribute("value",""+blueValue),document.getElementById("blue").value=blueValue,document.getElementById("blue_sc").setAttribute("value",""+blueValue_sc),document.getElementById("blue_sc").value=blueValue_sc,document.getElementById("blue_btn").setAttribute("value",""+blueValue_btn),document.getElementById("blue_btn").value=blueValue_btn,document.getElementById("blue_mn").setAttribute("value",""+blueValue_mn),document.getElementById("blue_mn").value=blueValue_mn,document.getElementById("blue_footer").setAttribute("value",""+blueValue_foot),document.getElementById("blue_footer").value=blueValue_foot,document.getElementById("blue_footernav").setAttribute("value",""+blueValue_fn),document.getElementById("blue_footernav").value=blueValue_fn,document.getElementById("blue_dark_c").setAttribute("value",""+blueValue_dark_c),document.getElementById("blue_dark_c").value=blueValue_dark_c,document.getElementById("blue_light_c").setAttribute("value",""+blueValue_light_c),document.getElementById("blue_light_c").value=blueValue_light_c,document.getElementById("blue_contrast_c").setAttribute("value",""+blueValue_contrast_c),document.getElementById("blue_contrast_c").value=blueValue_contrast_c);let keyboardVisibleButton=document.querySelector("#keyboard_visible");if(keyboardVisibleButton){let P=document.querySelector("#keyboard_dashboard"),S=document.querySelector("footer"),x=document.querySelector(".accessibility-dashboard");function keyboardOn(){P.classList.add("show"),S.classList.add("keyboard-shown"),x.classList.add("keyboard-shown"),keyboardVisibleButton.classList.add("kv-is---active"),setCookie("keyboard","on"),T=!0}function keyboardOff(){P.classList.contains("show")&&P.classList.remove("show"),S.classList.remove("keyboard-shown"),x.classList.remove("keyboard-shown"),keyboardVisibleButton.classList.remove("kv-is---active"),setCookie("keyboard","off"),T=!1}keyboardVisibleButton.onclick=function(){};let T=!1;keyboardVisibleButton&&(keyboardVisibleButton.onclick=e=>{T?keyboardOff():keyboardOn(),closeAcc()}),"on"===getCookie("keyboard")&&(document.getElementById("keyboard_visible").classList.add("kv-is---active"),P.classList.add("show"),S.classList.add("keyboard-shown"),x.classList.add("keyboard-shown"))}let closeIt=document.querySelector(".close-it");closeIt&&(closeIt.onclick=function(){document.querySelector(".accessibility-dashboard").classList.remove("show")});let closeItKeyboard=document.querySelector(".close-it-k");closeItKeyboard&&(closeItKeyboard.onclick=function(){document.getElementById("keyboard_visible").click()});let resetButton=document.querySelector(".reset-all");resetButton&&(resetButton.onclick=function(){closeAcc(),document.cookie="rgb=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="red=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="green=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="blue=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="rgb_sc=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="red_sc=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="green_sc=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="blue_sc=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="rgb_btn=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="red_btn=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="green_btn=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="blue_btn=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="rgb_mn=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="red_mn=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="green_mn=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="blue_mn=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="rgb_foot=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="red_foot=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="green_foot=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="blue_foot=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="rgb_dark_c=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="red_dark_c=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="green_dark_c=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="blue_dark_c=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="rgb_light_c=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="red_light_c=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="green_light_c=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="blue_light_c=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="rgb_contrast_c=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="red_contrast_c=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="green_contrast_c=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="blue_contrast_c=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="hasContrast=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="hideImages=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="keyboardActivation=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="nightmode=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="fontSize=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="lineHeight=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="keyboard=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="directBtn_red=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="directBtn_green=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="directBtn_blue=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.cookie="directBtn_contrast=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;",document.body.classList.remove("night-mode"),document.body.classList.remove("hide-images"),document.body.classList.remove("k---a"),document.body.classList.remove("adhs"),document.body.classList.remove("no-flip-boxes"),document.body.classList.remove("set_white_color"),document.body.classList.remove("font-size-1"),document.body.classList.remove("font-size-2"),document.body.classList.remove("font-size-3"),document.body.classList.remove("font-size-4"),document.body.classList.remove("font-size-5"),document.body.classList.remove("line-height-1"),document.body.classList.remove("line-height-2"),document.body.classList.remove("line-height-3"),document.body.classList.remove("line-height-4"),document.body.classList.remove("line-height-5");let e=document.querySelector(".nm-is---active");e&&e.classList.remove("nm-is---active");let t=document.querySelector(".ti-is---active");t&&t.classList.remove("ti-is---active");let o=document.querySelector(".kv-is---active");o&&o.classList.remove("kv-is---active");let n=document.querySelector(".kn-is---active");n&&n.classList.remove("kn-is---active");let c=document.querySelector(".adhs-is---active");c&&c.classList.remove("adhs-is---active");
1let l=document.querySelectorAll(".direct-btn");for(let e=0;e<l.length;e++)l[e].classList.remove("selected");redInput.value=r,greenInput.value=g,blueInput.value=b,contrastInput.value=0;let u="rgb("+r+","+g+","+b+")",d="rgb("+r_sc+","+g_sc+","+b_sc+")",a="rgb("+r_btn+","+g_btn+","+b_btn+")",m="rgb("+r_mn+","+g_mn+","+b_mn+")",s="rgb("+r_foot+","+g_foot+","+b_foot+")",_="rgb("+r_fn+","+g_fn+","+b_fn+")",i="rgb("+r_dark_c+","+g_dark_c+","+b_dark_c+")",p="rgb("+r_light_c+","+g_light_c+","+b_light_c+")",y="rgb("+r_contrast_c+","+g_contrast_c+","+b_contrast_c+")",k=document.querySelector(".num"),I=document.querySelector(".num_lh");k.innerHTML="1",I.innerHTML="1",document.documentElement.style.setProperty("--primary-color",u),document.documentElement.style.setProperty("--secondary-color",d),document.documentElement.style.setProperty("--button-background-color",a),document.documentElement.style.setProperty("--main-navigation-toolbar-color",m),document.documentElement.style.setProperty("--footer-color",s),document.documentElement.style.setProperty("--footernav-color",_),document.documentElement.style.setProperty("--dark-color",i),document.documentElement.style.setProperty("--light-color",p),document.documentElement.style.setProperty("--contrast-color",y),document.querySelector("#keyboard_dashboard").classList.remove("show"),document.querySelector("footer").classList.remove("keyboard-shown"),document.querySelector(".accessibility-dashboard").classList.remove("keyboard-shown"),document.querySelector(".reset-all .icon-refresh").classList.add("done"),document.documentElement.style.removeProperty("--primary-color"),document.documentElement.style.removeProperty("--secondary-color"),document.documentElement.style.removeProperty("--button-background-color"),document.documentElement.style.removeProperty("--main-navigation-toolbar-color"),document.documentElement.style.removeProperty("--footer-color"),document.documentElement.style.removeProperty("--footernav-color"),document.documentElement.style.removeProperty("--light-color"),document.documentElement.style.removeProperty("--dark-color"),document.documentElement.style.removeProperty("--contrast-color"),document.documentElement.style.removeProperty("--text-color-light"),document.documentElement.style.removeProperty("--ext-color-dark"),document.documentElement.style.removeProperty("--text-color-contrast"),document.documentElement.style.removeProperty("--primary-text-color"),document.documentElement.style.removeProperty("--secondary-text-color")});let resetIcon=document.querySelector(".reset-all .icon-refresh");setTimeout((()=>{resetIcon.classList.remove("done")}),5e3);let acsAccordions=document.querySelectorAll(".dashboard-section.acc");for(let B=0;B<acsAccordions.length;B++){let A=acsAccordions[B].querySelectorAll(".html-accordions summary");for(let V=0;V<A.length;V++)A[V].onclick=e=>{let t=e.target.parentElement.hasAttribute("open");if(t&&t.removeAttribute("open"),!t)for(let e=0;e<A.length;e++)A[e].parentElement.removeAttribute("open")}}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.