(function () { let name = "_br_uid_2="; let decodedCookie = decodeURIComponent(document.cookie); let ca = decodedCookie.split(';'); for (let i = 0; ca.length > i; i++) { let c = ca[i]; while (c.charAt(0) === ' ') { c = c.substring(1); } if (c.indexOf(name) === 0) { const val = encodeURIComponent(c.substring(name.length, c.length)); window.brUId = val; } } })();