var query={get:function(t){var e=RegExp("[?&]"+(t=t.replace(/[\[\]]/g,"\\$&"))+"(=([^&#]*)|&|#|$)").exec(window.location.href);return e?e[2]?decodeURIComponent(e[2].replace(/\+/g," ")):"":null},has:function(t){return null!==this.get(t)}},cookie={set:function(t,e,r){var i="";"https:"===window.location.protocol&&(i="Secure;");var o=new Date;o.setFullYear(o.getFullYear()+2),document.cookie=t+"="+e+";expires="+o+";path=/;domain=."+r+";"+i+"samesite=Lax"}},util={domain:function(){var t=window.location.hostname;if("127.0.0.1"===t)return t;var e=t.split(".").filter(Boolean);return"www"===e[0]&&(delete e[0],e=e.filter(Boolean)),t=(e=e.reverse())[1]+"."+e[0],e[0].length<=3&&e[1].length<=3&&void 0!==e[2]&&(t=e[2]+"."+e[1]+"."+e[0]),t}};!function(){let t={tmt_offer_sid:"offer sID",tmt_ufp:"user fingerprint ID",tmt_data:"event ID"};for(var e in t)query.has(e)&&(window[e]=query.get(e));void 0!==window.tmt_data&&cookie.set("tc_"+window.tmt_offer_sid,window.tmt_data,util.domain()),void 0!==window.tmt_ufp&&cookie.set("tc_ufp",window.tmt_ufp,util.domain())}();