'use strict';var XF=window.XF||{}; !function(h,k){function m(a){return(a=(new RegExp("(^| )"+q+a+"=([^;]+)(;|$)")).exec(k.cookie))?decodeURIComponent(a[2]):null}function n(a){var b=k.createElement("style");b.type="text/css";b.innerHTML=a;k.head.appendChild(b)}var l=k.documentElement,q=l.getAttribute("data-cookie-prefix")||"",r=l.getAttribute("data-app");l.getAttribute("data-logged-in");l.addEventListener("error",function(a){a=a.target;switch(a.getAttribute("data-onerror")){case "hide":a.style.display="none";break;case "hide-parent":a.parentNode.style.display= "none"}},!0);XF.Feature=function(){function a(c){var e=l.className;g&&(e=e.replace(/(^|\s)has-no-js($|\s)/,"$1has-js$2"),g=!1);c.length&&(e+=" "+c.join(" "));l.className=e}var b={touchevents:function(){return"ontouchstart"in h||h.DocumentTouch&&k instanceof DocumentTouch},passiveeventlisteners:function(){var c=!1;try{var e=Object.defineProperty({},"passive",{get:function(){c=!0}}),f=function(){};h.addEventListener("test",f,e);h.removeEventListener("test",f,e)}catch(p){}return c},hiddenscroll:function(){var c= k.body,e=!1;c||(c=k.createElement("body"),k.body=c,e=!0);var f=k.createElement("div");f.style.width="100px";f.style.height="100px";f.style.overflow="scroll";f.style.position="absolute";f.style.top="-9999px";c.appendChild(f);var p=f.offsetWidth===f.clientWidth;e?c.parentNode.removeChild(c):f.parentNode.removeChild(f);return p},overflowanchor:function(){return"CSS"in h&&"supports"in h.CSS&&h.CSS.supports("overflow-anchor","auto")},displaymodestandalone:function(){return"standalone"in h.navigator&&h.navigator.standalone|| h.matchMedia("(display-mode: standalone)").matches}},d={},g=!0;return{runTests:function(){var c=[],e;for(e in b)if(b.hasOwnProperty(e)&&"undefined"===typeof d[e]){var f=!!b[e]();c.push("has-"+(f?"":"no-")+e);d[e]=f}a(c)},runTest:function(c,e){e=!!e();a(["has-"+(e?"":"no-")+c]);d[c]=e},has:function(c){return"undefined"===typeof d[c]?(console.error("Asked for unknown test results: "+c),!1):d[c]}}}();XF.Feature.runTests();"public"===r&&function(){var a=m("notice_dismiss");a=a?a.split(","):[];for(var b, d=null!==m("consent"),g=[],c=0;ca.indexOf("compatible")&&/(mozilla)(?:.*? rv:([0-9\.]+)|)/.exec(a)||[];if("webkit"==b[1]&&a.indexOf("safari")){var d=/version[ \/]([0-9\.]+)/.exec(a);b=d?[b[0],"safari",d[1]]:(d=/ os ([0-9]+)_([0-9]+)/.exec(a))?[b[0],"safari",d[1]+"."+d[2]]:[b[0],"safari",0]}b={browser:b[1]||"",version:parseFloat(b[2])||0}}b.browser&&(b[b.browser]=!0);d="";var g=null,c;if(/(ipad|iphone|ipod)/.test(a)){if(d= "ios",c=/os ([0-9_]+)/.exec(a))g=parseFloat(c[1].replace("_","."))}else(c=/android[ \/]([0-9\.]+)/.exec(a))?(d="android",g=parseFloat(c[1])):/windows /.test(a)?d="windows":/linux/.test(a)?d="linux":/mac os/.test(a)&&(d="mac",1