(()=>{var e=navigator.language.slice(0,2),t="wplingua-lang";let a;var l=document.cookie.split(";");for(let e=0;e<l.length;e++){var r=l[e].trim();if(r.startsWith(t+"=")){a=r.substring(t.length+1);break}}let n={};document.querySelectorAll('link[rel="alternate"][hreflang]').forEach(e=>{var t=e.getAttribute("hreflang");"x-default"!==t&&(n[t]=e.href)});var o=document.documentElement.lang.slice(0,2).toLowerCase();a||n[e]&&o!==e&&((o=new Date).setTime(o.getTime()+2592e6),o="; expires="+o.toUTCString(),document.cookie=t+"="+(e||"")+o+"; path=[wplng-cookie-path]",window.location.href=n[e])})();//# sourceMappingURL=browser-redirect.js.map
