PageSourceSearch

https://detdigitalesundhedscenter.dk/wp-content/cache/busting/1/wp…/js/wp-accessibility-helper.min-1.0.0.js

js detdigitalesundhedscenter.dk collected 2026-10-01 15:59:26 UTC 8,144 bytes, 1 lines download raw bytes

1(function(b){if(typeof define==="function"&&define.amd){define(b)}else{if(typeof exports==="object"){module.exports=b()}else{var a=window.Cookies;var c=window.Cookies=b();c.noConflict=function(){window.Cookies=a;return c}}}}(function(){function b(){var f=0;var c={};for(;f<arguments.length;f++){var d=arguments[f];for(var e in d){c[e]=d[e]}}return c}function a(d){function c(o,n,k){var r;if(typeof document==="undefined"){return}if(arguments.length>1){k=b({path:"/"},c.defaults,k);if(typeof k.expires==="number"){var h=new Date();h.setMilliseconds(h.getMilliseconds()+k.expires*86400000);k.expires=h}try{r=JSON.stringify(n);if(/^[\{\[]/.test(r)){n=r}}catch(m){}if(!d.write){n=encodeURIComponent(String(n)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent)}else{n=d.write(n,o)}o=encodeURIComponent(String(o));o=o.replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent);o=o.replace(/[\(\)]/g,escape);return(document.cookie=[o,"=",n,k.expires&&"; expires="+k.expires.toUTCString(),k.path&&"; path="+k.path,k.domain&&"; domain="+k.domain,k.secure?"; secure":""].join(""))}if(!o){r={}}var q=document.cookie?document.cookie.split("; "):[];var p=/(%[0-9A-Z]{2})+/g;var l=0;for(;l<q.length;l++){var j=q[l].split("=");var f=j[0].replace(p,decodeURIComponent);var g=j.slice(1).join("=");if(g.charAt(0)==='"'){g=g.slice(1,-1)}try{g=d.read?d.read(g,f):d(g,f)||g.replace(p,decodeURIComponent);if(this.json){try{g=JSON.parse(g)}catch(m){}}if(o===f){r=g;break}if(!o){r[f]=g}}catch(m){}}return r}c.set=c;c.get=function(e){return c(e)};c.getJSON=function(){return c.apply({json:true},[].slice.call(arguments))};c.defaults={};c.remove=function(f,e){c(f,"",b(e,{expires:-1}))};c.withConverter=a;return c}return a(function(){})}));jQuery(window).load(function(){jQuery("a.aicon_link").fadeIn(350)});jQuery(document).ready(function(){var c=jQuery("body"),a=jQuery("body a");var d=1;var e=100;jQuery("#wp_access_helper_container").prependTo("body");jQuery(".wah-skiplinks-menu").prependTo("body");jQuery(".greyscale").click(function(){jQuery("img").each(function(){jQuery(this).toggleClass("active_greyscale")})});jQuery(".aicon_link").click(function(f){f.preventDefault();jQuery(".accessability_container").addClass("active");jQuery("#access_container button").removeAttr("tabindex");jQuery("#access_container").attr("aria-hidden","false")});jQuery(".close_container, .close-wah-sidebar").click(function(f){f.preventDefault();jQuery(".accessability_container").removeClass("active");jQuery("#access_container button").attr("tabindex","-1");jQuery("#access_container").attr("aria-hidden","true")});if(jQuery("body").hasClass("wah_fstype_rem")){jQuery(".smaller").click(function(f){f.preventDefault();var g=parseInt(jQuery("html").css("font-size"));if(g>12){g=g-1+"px";jQuery("html").css({"font-size":g})}});jQuery(".larger").click(function(f){f.preventDefault();var g=parseInt(jQuery("html").css("font-size"));if(g<24){g=g+1+"px";jQuery("html").css({"font-size":g})}})}else{if(jQuery("body").hasClass("wah_fstype_zoom")){jQuery(".larger").click(function(){var f;if(c.hasClass("gecko")){f=0.05;d+=f;c.css("MozTransform","scale("+d+","+d+")");c.css("transform-origin","50% 50%")}else{f=5;e+=f;c.css("zoom"," "+e+"%")}});jQuery(".smaller").click(function(){var f;if(c.hasClass("gecko")){f=0.05;d-=f;c.css("MozTransform","scale("+d+","+d+")");c.css("transform-origin","50% 50%")}else{f=5;e-=f;c.css("zoom"," "+e+"%")}})}else{var b=jQuery("a,p,span,h1,h2,h3,h4,h5,h6");b.each(function(){jQuery(this).attr("data-wahfont",parseInt(jQuery(this).css("font-size")))});wah_font_resizer()}}jQuery(".wah-call-remove-styles").click(function(f){f.preventDefault();jQuery("link:not(#wpah-front-styles-css)").each(function(g,h){if(jQuery(this).attr("disabled")){jQuery(this).removeAttr("disabled")}else{jQuery(this).attr("disabled","disabled")}})});jQuery(".wah-call-underline-links").click(function(f){f.preventDefault();c.toggleClass("is_underline")});jQuery("#contrast_trigger").click(function(f){f.preventDefault();jQuery(".color_selector").toggleClass("is_visible");jQuery(".color_selector").attr("aria-hidden","false")});jQuery(".convar").click(function(f){f.preventDefault();var h=jQuery(this).data("bgcolor");
1var g=jQuery(this).data("color");jQuery("body :not(.wahcolor), body").css({"background-color":h,color:g});setContrastCookie(h,g);jQuery(".color_selector").removeClass("is_visible");jQuery(".color_selector").attr("aria-hidden","true")});if(typeof roleLink!="undefined"&&roleLink==1){setTimeout(function(){a.each(function(){var f=jQuery(this);if(typeof Foundation!="undefined"&&typeof Foundation.version!="undefined"&&Foundation.version){if(f.attr("role")!="tab"){f.attr("role","link")}}else{f.attr("role","link")}})},500)}if(typeof removeLinkTitles!="undefined"&&removeLinkTitles==1){a.each(function(){if(jQuery(this).attr("title")){jQuery(this).attr("title","");jQuery(this).removeAttr("title")}})}if(typeof headerElementSelector!="undefined"&&headerElementSelector){c.find(headerElementSelector).attr("role","banner")}if(typeof sidebarElementSelector!="undefined"&&sidebarElementSelector){c.find(sidebarElementSelector).attr("role","complementary")}if(typeof footerElementSelector!="undefined"&&footerElementSelector){c.find(footerElementSelector).attr("role","contentinfo")}if(typeof mainElementSelector!="undefined"&&mainElementSelector){c.find(mainElementSelector).attr("role","main")}if(typeof navElementSelector!="undefined"&&navElementSelector){c.find(navElementSelector).attr("role","navigation")}if(typeof Cookies.get("wahFontColor")!="undefined"&&typeof Cookies.get("wahBgColor")!="undefined"){jQuery("body :not(.wahcolor), body").css({"background-color":Cookies.get("wahBgColor"),color:Cookie
1s.get("wahFontColor")})}if(typeof wah_lights_off_selector!="undefined"&&wah_lights_off_selector){jQuery(".wah-lights-off").click(function(f){f.preventDefault();if(!jQuery("body").hasClass("wah-lights-off")){jQuery("body").append('<div class="wah-dark-overlay"></div>');jQuery("body").addClass("wah-lights-off");jQuery(wah_lights_off_selector).addClass("wah-lights-selector")}else{jQuery("body .wah-dark-overlay").remove();jQuery("body").removeClass("wah-lights-off");jQuery(wah_lights_off_selector).removeClass("wah-lights-selector")}})}jQuery(".wah-call-clear-cookies").click(function(f){f.preventDefault();removeAllCookies()});jQuery(".wah-call-highlight-links").click(function(f){f.preventDefault();c.toggleClass("highlight_links_on")});jQuery(".wah-call-invert").click(function(f){f.preventDefault();c.toggleClass("invert_mode_on")});jQuery(".wah-call-remove-animations").click(function(f){f.preventDefault();c.toggleClass("remove_animations")});jQuery(".wah-action-button").click(function(){jQuery(this).toggleClass("active_button")});jQuery(".readable_fonts .wah-action-button").click(function(f){c.toggleClass("arial_font_on")});jQuery(".wah-call-keyboard-navigation").click(function(){c.toggleClass("wah_keyboard_access")});if(typeof wah_target_src!="undefined"){wah_target_element=jQuery("body").find("img[src='"+wah_target_src+"']");wah_target_element.addClass("wah_scanner_element")}if(typeof wah_target_link!="undefined"){wah_target_element=jQuery('a[href="'+wah_target_link+'"]');wah_target_element.addClass("wah_scanner_link")}});function setContrastCookie(b,a){Cookies.set("wahFontColor",a,{expires:14});Cookies.set("wahBgColor",b,{expires:14})}function removeAllCookies(){Cookies.remove("wahFontColor");Cookies.remove("wahBgColor");location.reload()}function wah_font_resizer(){var a=jQuery("a,p,span,h1,h2,h3,h4,h5,h6");jQuery(".font_resizer .larger").click(function(b){b.preventDefault();a.each(function(){var c=parseInt(jQuery(this).css("font-size"));jQuery(this).css("font-size",parseInt(c+1)+"px")})});jQuery(".font_resizer .smaller").click(function(b){b.preventDefault();a.each(function(){var c=parseInt(jQuery(this).css("font-size"));if(c>12){jQuery(this).css("font-size",parseInt(c-1)+"px")}})});jQuery(".wah-font-reset").click(function(b){b.preventDefault();a.each(function(){var c=parseInt(jQuery(this).css("font-size"));jQuery(this).css("font-size",parseInt(jQuery(this).data("wahfont"))+"px")})})};

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.