<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">if(!tdconvObj){var tdconvObj={c:"Tradedoubler Tracking SDK | ",element:"iframe",initSrc(){var t=document.currentScript||document.querySelector('script[src*="tr_sdk.js?"]')||document.querySelector('script[src*="trsdk?"]'),e=document.createElement("a");e.href=t.src;var r=t.src.replace(/^[^\?]+\??/,""),i=this.parseQuery(r);i.o&amp;&amp;(i.org=i.o),i.p&amp;&amp;(i.prog=i.p),this.src={host:e.hostname,params:i},this.sameHost=!e.hostname.includes(".tradedoubler.com"),this.sameHost&amp;&amp;this.log("Branded tracking active! Using domain:",this.src.host)},parseQuery(t){var e=new Object;if(!t)return e;for(var r=t.split(/[;&amp;)]/),i=(r=r.filter(t=&gt;String(t).trim()))[0]&amp;&amp;r[0].includes("=")?"=":"(",a=0;a&lt;r.length;a++){var o=r[a].split(i);if(o&amp;&amp;2===o.length){var s=unescape(o[0]),n=unescape(o[1]);n=n.replace(/\+/g," "),e[s]=n}}return e},getQueryStringParam(t){try{var e=new URLSearchParams(window.location.search).get(t)}catch(r){try{e=this.getUrlParameter(t)}catch(t){return!1}}return e},getUrlParameter(t){t=t.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var e=new RegExp("[\\?&amp;]"+t+"=([^&amp;#]*)").exec(location.search);return null===e?"":decodeURIComponent(e[1].replace(/\+/g," "))},setVar(t,e){if(null!==e){this.log("Saving: ",t," =&gt; ",e);try{this.setCookie(t,e,!0)}catch(t){}finally{this.setCookie(t,e),window.localStorage.setItem(t,e)}}},getVar(t){var e=this.getCookie(t);return e?("tduid"===t&amp;&amp;e.indexOf("?")&gt;0&amp;&amp;(e=e.substr(0,e.indexOf("?"))),e):window.localStorage.getItem(t)?window.localStorage.getItem(t):""},removeVar(t){try{this.setCookie(t,"",!0,!0)}catch(t){this.log(t)}finally{this.setCookie(t,"",!1,!0),window.localStorage.removeItem(t)}},setTduid(t){if(t&amp;&amp;this.getConsent("cookie")&amp;&amp;this.getConsent("tracking"))if(this.sameHost){this.log(" &gt; creating first party cookie server side...");var e=(new Date).valueOf(),r=this.getHost()+"/statics/"+t+"?t="+e;this.createEl("img",{src:r,alt:""}),window.localStorage.setItem("tduid",t)}else this.setVar("tduid",t)},setCookie(t,e,r,i){var a="";if(r){var o=window.location.host,s=o.substring(o.indexOf("."));(s.match(/\./g).length&lt;2||".co"===s.substring(0,s.indexOf(".",1)))&amp;&amp;(s="."+o),a=`domain=${s}`}var n=new Date,d=!0===i?1e3:n.getTime()+31536e6;n.setTime(d);var c="expires="+n.toUTCString();document.cookie=`${t}=${e};${c};${a};path=/;sameSite=none;Secure=true`},getCookie(t){t+="=";for(var e=document.cookie.split(";"),r=0;r&lt;e.length;r++){try{var i=decodeURIComponent(e[r])}catch(t){this.log("Cannot URIDecode: "+e[r]+t.message);continue}for(;" "===i.charAt(0);)i=i.substring(1);if(0===i.indexOf(t))return i.substring(t.length,i.length)}return!1},setConsent(t,e,r){"cookie"!==t&amp;&amp;"tracking"!==t||"boolean"!=typeof e||(this.log(t+" consent "+(e?"GRANTED":"DENIED!")),window.localStorage.setItem(this.storageVars[t],e),!1===e&amp;&amp;this.getVar("tduid")&amp;&amp;this.removeVar("tduid"),e&amp;&amp;r&amp;&amp;this.initLanding())},getConsent(t){var e=!0;return"cookie"!==t&amp;&amp;"tracking"!==t||!window.localStorage.getItem(this.storageVars[t])||(e="false"!==window.localStorage.getItem(this.storageVars[t])),e},getConsParameter(t){return!1===this.getConsent("cookie")||!1===this.getConsent("tracking")?!0===t?"cons(false)":"&amp;cons=false":""},setDebug(t){if(t=Number(t),[0,1,2].includes(t)){var e=0!==t?"Enabled":"Disabled";console.log(this.c+`Debug Mode ${e} (${t})!`),0===t?window.localStorage.removeItem("tddebug"):window.localStorage.setItem("tddebug",t)}},getDebug:()=&gt;Number(window.localStorage.getItem("tddebug")),log(...t){this.getDebug()&gt;0&amp;&amp;console.log(this.c,...t)},getHost(t){if(this.sameHost&amp;&amp;!0===this.sameHost)return"https://"+this.src.host;var e=".tradedoubler.com";switch(t){case"clk":return"https://clk"+e;case"lead":return"https://tbl"+e;case"ct":return"https://swrap"+e;default:return"https://tbs"+e}},validateExtType(t){return!!/^[0-1]{1}$/gi.test(t)||(console.warn(this.c+"The extType for Cross Device Tracking is not valid, only 0 or 1 are valid values, please review: extType = "+t),!1)},validateExtIdHash(t){return!!/^[A-F0-9]{64}$/gi.test(t)||(console.warn(this.c+"The extId for Cross Device Tracking is not a valid SHA-256 Hash, please review: extId = "+t),!1)},validateValidOn(t){if(/^\d{4}\-\d{2}\-\d{2}$/.test(t)){var e=new Date(t);if(e.getTime())return this.log("Comparing validOn: "+e.getTime()+" To now: "+(new Date).getTime()),!(e.getTime()&lt;(new Date).getTime())||(console.warn(this.c+"ValidOn date in past: "+t),!1)}return console.warn(this.c+"ValidOn date not valid, please review: validOn = "+t),!1},validateEventTime(t){if(/^\d{4}\-\d{2}\-\d{2}\%20\d{2}\:\d{2}\:\d{2}$/.test(t)){t=t.replace("%20"," ");var e=new Date(t);if(e.getTime()){this.log("Comparing eventTime: "+e.getTime()+" To now: "+(new Date).getTime());var r=new Date;return r.setFullYear(r.getFullYear()-1),e.getTime()&gt;(new Date).getTime()?(console.warn(this.c+"EventTime date in future: "+t),!1):!(e.getTime()&lt;r.getTime())||(console.warn(this.c+"EventTime date older than one year in the past: "+t),!1)}}return console.warn(this.c+"EventTime not valid: "+t),!1},generateRandomOrderNumber:()=&gt;(new Date).valueOf()+""+Math.round(1e3*Math.random())+"auto",initLanding(){var t,e=this.getQueryStringParam("tdclid_sn");if("true"===this.getQueryStringParam("td_consent")&amp;&amp;e&amp;&amp;this.setVar("tdclid_sn",e),(t=this.getQueryStringParam("deviceid")?this.getQueryStringParam("deviceid"):this.getQueryStringParam("tduid"))&amp;&amp;(this.setTduid(t),!e&amp;&amp;this.getVar("tdclid_sn")&amp;&amp;this.getConsent("cookie")&amp;&amp;this.getConsent("tracking")&amp;&amp;this.removeVar("tdclid_sn")),this.getDebug()&amp;&amp;window.setTimeout(()=&gt;{this.log(" &gt; test read first party cookie:",'"'+this.getVar("tduid")+'"',this.getVar("tduid")?"âœ”ï¸":"ðŸš«")},1e3),this.getQueryStringParam("progId"))var r=this.getQueryStringParam("progId");else if(this.getQueryStringParam("prog"))r=this.getQueryStringParam("prog");if(void 0!==r&amp;&amp;this.setVar("tdprog",r),this.getQueryStringParam("affId"))var i=this.getQueryStringParam("affId");else if(this.getQueryStringParam("aff"))i=this.getQueryStringParam("aff");void 0!==i&amp;&amp;this.setVar("tdaff",i),"string"==typeof this.getQueryStringParam("directLink")&amp;&amp;this.fireTDClk()},createEl(t,e){var r="width:1px;height:1px;border:0;";e&amp;&amp;Object.hasOwn(e,"style")?e.style+=r:e.style=r;var i=document.createElement(t);for(let t in e)i[t]=e[t];document.body?document.body.appendChild(i):document.addEventListener("DOMContentLoaded",()=&gt;{document.body.appendChild(i)})},fireTDClk(){var t="Direct link clk aborted.";if(!1!==this.getConsent("tracking")){if(this.getVar("tdprog"))var e=this.getVar("tdprog");else{if(!this.programId)return void this.log(t+"No programId found.");e=this.programId}if(this.getVar("tdaff")){var r=this.getVar("tdaff"),i=this.getHost("clk")+"/click?p="+e+"&amp;a="+r+"&amp;f=0";i+=this.getConsParameter(),this.getDebug()&gt;0&amp;&amp;(this.log("Debug Mode! Direct link clk URL: "+i),1===this.getDebug())||this.createEl("iframe",{src:i,async:!0,id:"tdClk"})}else this.log(t+"No affId found.")}else this.log(t+"Tracking consent not granted.")},fireTDTag(t,e,r,i){if(e+=this.getConsParameter(i),this.abhost="a.imgstatics.com",void 0===window.tdfallback&amp;&amp;("lead"===t||"sale"===t)&amp;&amp;1!==this.getDebug())try{var a=document.createElement("a");a.href=e;var o=e.replace(a.hostname,this.abhost);void 0!==(o+=!0===i?"f(0)convtagtid(24)":"&amp;f=0&amp;convtagtid=24")&amp;&amp;(window.tdfallback=window.setTimeout(()=&gt;{fetch(o,{keepalive:!0,mode:"no-cors"}).then(t=&gt;this.bc=!0).catch(t=&gt;t)},1e3))}catch(t){this.log("Fallback request error. "+t)}var s=33,n=23;this.gtm_mode&amp;&amp;(s=32,n=22),"iframe"===r?e+=!0===i?"type(iframe)convtagtid("+s+")":"&amp;type=iframe&amp;convtagtid="+s:"img"===r&amp;&amp;(e+=!0===i?"convtagtid("+n+")":"&amp;convtagtid="+n);var d=window.google_tag_manager?"true":"false";e+=!0===i?`gtm_loaded(${d})`:`&amp;gtm_loaded=${d}`;var c=this.getCookie("_ga")?"true":"false";e+=!0===i?`ga_loaded(${c})`:`&amp;ga_loaded=${c}`,this.getDebug()&gt;0&amp;&amp;(this.log("Debug Mode! Element: "+r+"! Event: "+t+"! URL: "+e),1===this.getDebug())||this.createEl(this.element,{src:e,async:!0,onload:()=&gt;{this.px=!0,this.log("Conversion deployed")}})},getPLTQuery(t,e){var r=this.generateRandomOrderNumber(),i="",a="",o="",s="",n="",d="",c="",g="",h="enc(3)",l="",u=this.getVar("tdclid_sn");if(void 0!==t.transactionId&amp;&amp;(r=t.transactionId),void 0!==t.currency&amp;&amp;(i=t.currency),void 0!==t.voucher&amp;&amp;(a="voucher("+t.voucher+")"),void 0!==t.enc&amp;&amp;(h="enc("+t.enc+")"),void 0!==t.eventTime&amp;&amp;this.validateEventTime(t.eventTime)&amp;&amp;(d="event_time("+t.eventTime+")"),void 0!==t.validOn&amp;&amp;this.validateValidOn(t.validOn)&amp;&amp;(o="validOn("+t.validOn+")"),void 0!==t.cdt&amp;&amp;this.validateExtType(t.cdt.extType)&amp;&amp;this.validateExtIdHash(t.cdt.extId)&amp;&amp;(s="extid("+t.cdt.extId+")",n="exttype("+t.cdt.extType+")"),void 0!==t.ttid&amp;&amp;(c=`ttid(${t.ttid})`),void 0!==t.trafficSource&amp;&amp;(g=`trafficSource(${encodeURIComponent(t.trafficSource)})`),void 0!==t.basket)l=t.basket;else{if(!(Array.isArray(t.products)&amp;&amp;t.products.length&gt;0))return console.warn(this.c+"Products basket is missing!"),null;l="basket(";for(let e=0;e&lt;t.products.length;e++)void 0!==t.products[e].currency&amp;&amp;t.products[e].currency!==t.currency&amp;&amp;console.warn(this.c+"Product currency mismatch! Product currency: "+t.products[e].currency+" is different than the currency of transaction: "+t.currency+". Using "+t.currency),l+="pr(",l+="i("+encodeURIComponent(t.products[e].id.substr(0,20))+")",l+="n("+encodeURIComponent(t.products[e].name.replace(/[()]+/g,"").substr(0,20))+")",l+="gr("+t.products[e].grpId+")",l+="v("+t.products[e].price+")",l+="q("+t.products[e].qty+")",l+=")";l+=")"}var m="";return this.program?m+=`p(${this.programId})`:!1===e&amp;&amp;(m+=`p(${this.getVar("tdprog")})`),!1===e&amp;&amp;this.getVar("tdaff")&amp;&amp;(m+=`a(${this.getVar("tdaff")})`),m+=`o(${this.orgId})event(${t.event})ordnum(${r})curr(${i})`+a+d+o+c+g,!1!==e&amp;&amp;(m+=s+n+"tduid("+this.getVar("tduid")+")"),u&amp;&amp;(m+=`tdpeh(${u})`),m+=h+l},trackEvent(t,e){this.isConv=!0;var r=this.getConsent("tracking"),i=this.getVar("tdprog"),a=this.getVar("tdaff"),o=this.getVar("tdclid_sn");if(!1!==r||i&amp;&amp;a||o){var s=!1,n="",d=this.getHost(t)+"/report?",c="",g="",h="",l="",u="",m="",v="",p="";if(void 0!==e.voucher&amp;&amp;(c="&amp;voucher="+e.voucher),void 0!==e.validOn&amp;&amp;this.validateValidOn(e.validOn)&amp;&amp;(g="&amp;validOn="+e.validOn),void 0!==e.cdt&amp;&amp;this.validateExtType(e.cdt.extType)&amp;&amp;this.validateExtIdHash(e.cdt.extId)&amp;&amp;(h="&amp;extid="+e.cdt.extId,l="&amp;exttype="+e.cdt.extType),void 0!==e.eventTime&amp;&amp;this.validateEventTime(e.eventTime)&amp;&amp;(u="&amp;event_time="+e.eventTime),void 0!==e.ttid&amp;&amp;(m="&amp;ttid="+e.ttid),void 0!==e.trafficSource&amp;&amp;(v="&amp;trafficSource="+encodeURIComponent(e.trafficSource)),void 0!==e.reportInfo)p=e.reportInfo;else if(Array.isArray(e.products)&amp;&amp;e.products.length&gt;0){for(var f=0,b=[];f&lt;e.products.length;f++)b.push("f1="+e.products[f].id+"&amp;f2="+e.products[f].name+"&amp;f3="+e.products[f].price+"&amp;f4="+e.products[f].qty);p=encodeURIComponent(b.join("|"))}if(n=d,this.program?n+="program="+this.programId+"&amp;":!1===r&amp;&amp;(n+="program="+i+"&amp;"),!1===r&amp;&amp;a&amp;&amp;(n+="affiliate="+a+"&amp;"),"lead"===t){if(!e.transactionId)return void console.warn(this.c+"Lead aborted. TransactionId is missing.");var y=4;void 0!==e.event&amp;&amp;(y=e.event),n+=`organization=${this.orgId}&amp;event=${y}&amp;leadnumber=${e.transactionId}`+c+u+g+m+v}else if("sale"===t&amp;&amp;void 0!==e.event&amp;&amp;Number(e.event)&gt;=51&amp;&amp;Number(e.event)&lt;=55)s=!0,n=d+this.getPLTQuery(e,r);else if("sale"===t){if(!e.transactionId&amp;&amp;!e.ordervalue)return void console.warn(this.c+"Sale aborted. TransactionId and order value are missing.");var w=this.generateRandomOrderNumber(),I=(y=5,0),k="";void 0!==e.transactionId&amp;&amp;(w=e.transactionId),void 0!==e.event&amp;&amp;(y=e.event),void 0!==e.ordervalue?I=e.ordervalue:void 0!==e.orderValue&amp;&amp;(I=e.orderValue),void 0!==e.currency&amp;&amp;(k=e.currency),n+=`organization=${this.orgId}&amp;event=${y}&amp;ordervalue=${I}&amp;ordernumber=${w}&amp;currency=${k}`+c+u+g+m+v}!1===s&amp;&amp;(!1!==r&amp;&amp;(n+=h+l+"&amp;tduid="+this.getVar("tduid")),o&amp;&amp;(n+="&amp;tdpeh="+o),n+="&amp;reportInfo="+p),this.fireTDTag(t,n,this.element,s),("sale"===t||s)&amp;&amp;this.abCheck(e)}else console.warn(this.c+"Conversion aborted. Tracking consent not granted.")},abCheck(t){var e="td"+this.generateRandomOrderNumber();this.createEl("div",{id:e,className:"ad-wrap",style:"background:transparent;display:block;visibility:hidden;"}),window.tdabc=window.setTimeout(()=&gt;{var r=document.getElementById(e),i=!!r&amp;&amp;"block"!==window.getComputedStyle(r).display;if(this.px&amp;&amp;i){var a=`https://${this.abhost}/report?program=357281&amp;affiliate=132234&amp;event=446022&amp;orderNumber=${t.event}_${t.transactionId}&amp;orderValue=${t.ordervalue}&amp;currency=${t.currency}&amp;convtagtid=24&amp;reportInfo=`+encodeURIComponent(`f1=${t.transactionId}&amp;f2=${this.orgId}&amp;f3=&amp;f4=${t.event}`);fetch(a,{keepalive:!0,mode:"no-cors"}).then(t=&gt;{}).catch(t=&gt;{})}},2e3)},initContainer(){if(this.orgId){var t=this.getHost("ct")+"/wrap?org="+this.orgId;this.programId&amp;&amp;(t+="&amp;prog="+this.programId),this.isConv&amp;&amp;(t+="&amp;case=conversion"),t+=this.getConsParameter(),this.getDebug()&gt;0&amp;&amp;(this.log("Debug Mode! Default container URL: "+t),1===this.getDebug())||this.createEl("script",{src:t,async:!0})}else this.log("OrgId missing for default container.")},initConfig(t){this.orgId&amp;&amp;Number(this.orgId)!==Number(t.organization)&amp;&amp;console.warn(this.c+"orgId mismatch: JS src = ",this.orgId,", init = ",t.organization),this.orgId=t.organization,"img"===t.element&amp;&amp;(this.element="img"),t.program?(this.programId&amp;&amp;Number(this.programId)!==Number(t.programId)&amp;&amp;console.warn(this.c+"programId mismatch: JS src = ",this.programId,", init = ",t.programId),this.program=!0,this.programId=t.programId):this.program=!1},processQueue(t,e){switch(this.log(`Processing step "${t[0]}"...`),e=!0===e,t[0]){case"debug":this.setDebug(t[1]);break;case"cookie-consent":this.setConsent("cookie",t[1],e);break;case"tracking-consent":this.setConsent("tracking",t[1],e);break;case"landing":this.initLanding();break;case"container":this.initContainer();break;case"init":"object"==typeof t[1]?this.initConfig(t[1]):null!==typeof t[2]?"object"==typeof t[2]?(t[2].organization=t[1],this.initConfig(t[2])):this.initConfig(JSON.parse(t[2])):this.initConfig({organization:t[1]});break;case"track":this.trackEvent(t[1],t[2])}},initSrcParams(){this.src.params.org&amp;&amp;(this.orgId=this.src.params.org),this.src.params.prog&amp;&amp;(this.program=!0,this.programId=this.src.params.prog),this.src.params.v&amp;&amp;this.src.params.v.indexOf("gtm")&gt;=0&amp;&amp;(this.gtm_mode=!0)},init(){var t=this.getQueryStringParam("_td_debug");if(t&amp;&amp;this.setDebug(t),this.initSrc(),this.initSrcParams(),this.gtm_mode)this.log("GTM mode active");else{var e=[];tdconv&amp;&amp;tdconv.q&amp;&amp;(e=tdconv.q),e.push({0:"landing"}),e.push({0:"container"}),e.sort((t,e)=&gt;{var r={debug:0,"cookie-consent":1,"tracking-consent":2,init:3,landing:4,track:5,container:6};return r[t[0]]&gt;r[e[0]]?1:r[t[0]]&lt;r[e[0]]?-1:0}),e.forEach(t=&gt;this.processQueue(t))}},storageVars:{cookie:"tdcookieconsent",tracking:"tdtrackingconsent"}};tdconvObj.init();var tdconv=function(t,e,r){tdconvObj.processQueue([t,e,r],!0)}}</pre></body></html>