try { var weezmo_module_bis_id = "98f65cb7-4c8f-4c06-8ff3-71c4f69bffcc"; window.wzm = { wid: "IR5G3YgpV4Hq67aQS7Yo", bid: "98f65cb7-4c8f-4c06-8ff3-71c4f69bffcc", identifiers: [], setClientInfo: function (userData) { userData.wid = wzm.wid; userData.bid = wzm.bid; userData.identifiers = wzm.identifiers; query(userData); function query(data) { var xhr = new XMLHttpRequest(); xhr.open("POST", "https://api.weezmo.com/client/info", true); xhr.setRequestHeader("Content-Type", "application/json"); xhr.onload = function () { localStorage.setItem("main_wid", JSON.parse(this.responseText)); }; xhr.onerror = function (message) { console.log(message); } xhr.send(JSON.stringify(data)); } } }; (function setCookie(cname, cvalue, exdays) { if (document.cookie && document.cookie.indexOf(cname) === -1) { var d = new Date(); d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000)); var expires = d.toUTCString(); var domain = window.location.hostname.replace(/^(www\.)/, ""); document.cookie = cname + "=" + cvalue + ";expires=" + expires + ";path=/" + ";domain=" + domain; } })("_wid", wzm.wid, 365); } catch (err) { }try { (function fbId() { var fb = /_fbp=(fb\.*\.\d+\.\d+)/.exec(window.document.cookie); if (fb && fb[1]) wzm?.identifiers.push({ Type: 'Facebook', Value: fb[1]}); })(); } catch(err) { } try { ga(function (tracker) { wzm?.identifiers.push({ Type: 'Google', Value: tracker.get('clientId')}); }); } catch(err) { }