www.dwin1.com Open in urlscan Pro
2600:9000:2490:1e00:f:8ce2:fb80:93a1  Public Scan

URL: http://www.dwin1.com/13481.js
Submission Tags: falconsandbox
Submission: On July 17 via api from US — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

var AWIN=AWIN||{};AWIN.Tracking=AWIN.Tracking||{},AWIN.sProtocol="https:"==location.protocol?"https://":"http://",AWIN.iScriptCount=0,AWIN.Tracking.device9Url="https://the.sciencebehindecommerce.com/d9core",AWIN.Tracking.flags={allowNewAWCCookie:!0,allowNewGCLIDCookie:!0},AWIN.tldDomains=["com","org","edu","gov","uk","net","ca","de","jp","fr","au","us","ru","ch","it","nl","se","no","es","mil","gw","ax","wf","yt","sj","mobi","eh","mh","bv","ap","cat","kp","iq","um","arpa","pm","gb","cs","td","so","aero","biz","coop","info","jobs","museum","name","pro","travel","ac","ad","ae","af","ag","ai","al","am","an","ao","aq","ar","as","at","aw","az","ba","bb","bd","be","bf","bg","bh","bi","bj","bm","bn","bo","br","bs","bt","bw","by","bz","cc","cd","cf","cg","ci","ck","cl","cm","cn","co","cr","cu","cv","cx","cy","cz","dj","dk","dm","do","dz","ec","ee","eg","er","et","eu","fi","fj","fk","fm","fo","ga","gd","ge","gf","gg","gh","gi","gl","gm","gn","gp","gq","gr","gs","gt","gu","gy","hk","hm","hn","hr","ht","hu","id","ie","il","im","in","io","ir","is","je","jm","jo","ke","kg","kh","ki","km","kn","kr","kw","ky","kz","la","lb","lc","li","lk","lr","ls","lt","lu","lv","ly","ma","mc","md","mg","mk","ml","mm","mn","mo","mp","mq","mr","ms","mt","mu","mv","mw","mx","my","mz","na","nc","ne","nf","ng","ni","np","nr","nu","nz","om","pa","pe","pf","pg","ph","pk","pl","pn","pr","ps","pt","pw","py","qa","re","ro","rw","sa","sb","sc","sd","sg","sh","si","sk","sl","sm","sn","sr","st","sv","sy","sz","tc","tf","tg","th","tj","tk","tl","tm","tn","to","tp","tr","tt","tv","tw","tz","ua","ug","uy","uz","va","vc","ve","vg","vi","vn","vu","ws","ye","yu","za","zm","zw"],AWIN.twoPartsTldDomains=["co.bb","co.ck","co.cr","co.in","co.id","co.il","co.jp","co.nz","co.za","co.kr","co.th","co.uk","org.uk","net.uk","com.pl","biz.pl","net.pl","com.cl","com.pe","com.ar","com.au","com.br"],AWIN.Tracking.fingerprinting=function(e){if(!document.getElementById("d9tag")){var n=AWIN.Tracking.getQueryVarValue("mtfp",document.location.search.substring(1));if(AWIN.Tracking.device9&&"no"!=n){window.D9v=e;var t=document.createElement("script");t.type="text/javascript",t.id="d9tag",t.async=!0,t.src=AWIN.Tracking.device9Url;var r=document.getElementsByTagName("script")[0];r.parentNode.insertBefore(t,r)}}},AWIN.Tracking.digestClickId=function(e){if(!/\d+_\d+_.+/.test(e))return!1;var n=e.split("_"),t={};return t.sName="_aw_m_"+n[0],t.sContents=e,t},AWIN.Tracking.getQueryVarValue=function(e,n){for(var t=n.split("&"),r=0;r<t.length;r++){var a=t[r].split("=");if(e.toLowerCase()==a[0].toLowerCase())return a[1]}},AWIN.Tracking.getAnchorValue=function(e){var n=document.location.hash.substring(1);if(n)return aid=n.match(e),aid?aid.toString().substr(4):null},AWIN.Tracking.buildQueryString=function(e){var n=[];for(var t in e)e.hasOwnProperty(t)&&n.push(t+"="+encodeURIComponent(e[t]));return n.join("&")},AWIN.Tracking._getDomain=function(){return document.domain},AWIN.Tracking._getCookieDomain=function(){if(void 0!==AWIN.Tracking.cookieDomain)return AWIN.Tracking.cookieDomain;var e=AWIN.Tracking._getDomain();if(e.split(".").length<3)return"."+e;var n=e.split(".").slice(-2).join(".");if(AWIN.twoPartsTldDomains.indexOf(n)>=0)return"."+e.split(".").slice(-3).join(".");var t=e.split(".").pop();return AWIN.tldDomains.indexOf(t)>=0?"."+e.split(".").slice(-2).join("."):"www."==e.substr(0,4)?e.substr(3):"."+e},AWIN.Tracking._getAWCValue=function(){for(var e,n=/[\?&]awc=(\d+_(\d+)_[0-9a-f]+)/gi,t=0,r=!1;e=n.exec(AWIN.Tracking._getBrowserSearchBarUrl());)t<e[2]&&(t=e[2],r=e[1]);return r||AWIN.Tracking.getAnchorValue(/awc=[0-9a-z_]+/i)},AWIN.Tracking._getAWaidValue=function(){var e=/[\?&]awaid=(\d+)/gi.exec(AWIN.Tracking._getBrowserSearchBarUrl()),n=null;return e&&(n=e[1]),n},AWIN.Tracking._getGCLIDValue=function(){var e=/[\?&]gclid=([0-9a-zA-Z_\-]+)/gi.exec(AWIN.Tracking._getBrowserSearchBarUrl()),n=null;return e&&(n=e[1]),n},AWIN.Tracking._getBrowserSearchBarUrl=function(){return document.location.search},AWIN.Tracking.getQueryParameterDelimiter=function(e){return-1===e.indexOf("?")?"?":"&"},AWIN.Tracking._getATPValue=function(){var e=AWIN.Tracking.getQueryVarValue("atp",document.location.search.substring(1));return e?parseInt(e):AWIN.Tracking.getAnchorValue(/atp=[0-9]+/i)?parseInt(parseanchorAtp):0},AWIN.Tracking.setCookie=function(e,n,t){var r=!1;if(AWIN.Tracking.Consent.getSnRegEx().test(e)?r=!0:AWIN.Tracking.Consent.getConsentIsRespected()&&!AWIN.Tracking.Consent.getConsent()||(r=!0),r){var a=new Date;a.setTime(a.getTime()+31536e6),t&&a.setTime(1e3*t);var i="; expires="+a.toGMTString();if(document.cookie=e+"="+n+i+"; path=/;domain="+this._getCookieDomain(),AWIN.Tracking.StorageProvider)if(0===e.indexOf("_aw_m_")){var c=e.split("_aw_m_")[1];AWIN.Tracking.StorageProvider.setAWC(c,n)}else if(0===e.indexOf("_aw_sn_")){c=e.split("_aw_sn_")[1];AWIN.Tracking.StorageProvider.setSn(c,n)}}},AWIN.Tracking.setAWCCookie=function(){var e=AWIN.Tracking._getAWCValue();if(!/\d+_\d+_.+/.test(e))return!1;var n="_aw_m_"+e.split("_")[0];AWIN.Tracking.setCookie(n,e)},AWIN.Tracking.setGCLIDCookie=function(){var e=AWIN.Tracking._getGCLIDValue(),n=AWIN.Tracking._getAWaidValue();return null!==e&&null!==n&&(AWIN.Tracking.setCookie("_aw_m_"+n,"gclid_"+n+"_"+e),!0)},AWIN.Tracking.setIncentiveCookie=function(){var e=AWIN.Tracking._getAWCValue();if(!/\d+_\d+_.+/.test(e))return!1;var n="_aw_sn_"+e.split("_")[0];AWIN.Tracking.setCookie(n,e)},AWIN.Tracking.setAidCookie=function(){var e=AWIN.Tracking.getQueryVarValue("xid",document.location.search.substring(1));e||(e=AWIN.Tracking.getAnchorValue(/xid=\d+/)),e&&AWIN.Tracking.setCookie("_aw_xid",e)},AWIN.Tracking.getAffiliateId=function(){return AWIN.Tracking.getCookiesAsString(/_aw_xid/)},AWIN.Tracking.getSaleChannel=function(){return void 0!==AWIN.Tracking.Sale.channel?AWIN.Tracking.Sale.channel:""},AWIN.Tracking.cookiesWereSpecifiedByMerchant=function(){if(AWIN.Tracking.Sale&&AWIN.Tracking.Sale.click){if(/\d+_\d+_.+/.test(AWIN.Tracking.Sale.click))return!0}return!1},AWIN.Tracking.getCookiesAsString=function(e){var n,t="",r=!AWIN.Tracking.Consent.getConsentIsRespected()||AWIN.Tracking.Consent.getConsent(),a=!1;if(e||(e=/_aw_m_\d+/,n=AWIN.Tracking.Consent.getSnRegEx(),a=!0),a||r){for(var i=[],c=document.cookie.split(";"),o=0;o<c.length;o++){var s=c[o].split("=");e.test(s[0])?r&&i.push(s[1]):a&&n.test(s[0])&&(i.push(s[1]),AWIN.Tracking.Consent.setIsSnCookieAvailable())}i.length>0&&(t=i.toString().replace(" ",""))}return t},AWIN.Tracking.getCookiesAsStringEscaped=function(e){return escape(AWIN.Tracking.getCookiesAsString(e))},AWIN.Tracking.getScriptAppendNode=function(){var e=["body","head","html"];for(var n in e)if(document.getElementsByTagName(e[n])[0])return document.getElementsByTagName(e[n])[0]},AWIN.Tracking.frameAppend=function(e,n){document.getElementsByTagName("body")[0]&&AWIN.Tracking.Consent.getGdprAppends(n,AWIN.Tracking.getQueryParameterDelimiter(e),(function(n){e+=n;var t=document.createElement("iframe");t.src=e,document.getElementsByTagName("body")[0].appendChild(t),AWIN.Tracking.hideElement(t)}))},AWIN.Tracking.pixelAppend=function(e,n){document.getElementsByTagName("body")[0]&&AWIN.Tracking.Consent.getGdprAppends(n,AWIN.Tracking.getQueryParameterDelimiter(e),(function(n){e+=n;var t=document.createElement("img");t.src=e,document.getElementsByTagName("body")[0].appendChild(t),AWIN.Tracking.hideElement(t)}))},AWIN.Tracking.scriptAppend=function(e,n,t,r,a){if(!e||!n){var i=document.createElement("script");if(i.type="text/javascript",i.id="_aw_script_"+AWIN.iScriptCount++,e?i.src=e:n&&(i.text=n),r)for(var c in r)i.setAttribute(c,r[c]);t&&(i.onreadystatechange=function(){"complete"!=i.readyState&&"loaded"!=i.readyState||eval(t)},i.onload=function(){eval(t)}),e?AWIN.Tracking.Consent.getGdprAppends(a,AWIN.Tracking.getQueryParameterDelimiter(i.src),(function(e){i.src+=e,AWIN.Tracking.getScriptAppendNode().appendChild(i)})):AWIN.Tracking.getScriptAppendNode().appendChild(i)}},AWIN.Tracking.setFlag=function(e,n){AWIN.Tracking.flags[e]=n},AWIN.Tracking.getFlag=function(e){return AWIN.Tracking.flags[e]},AWIN.scriptsLoader=function(e){e:for(var n=0;n<e.length;n++){for(var t=e[n],r=0;r<t.aRequiredVars.length;r++)try{if(void 0===eval(t.aRequiredVars[r]))throw new Error}catch(e){continue e}t.sUrl?AWIN.Tracking.scriptAppend(t.sUrl):t.sContents&&AWIN.Tracking.scriptAppend(null,t.sContents)}},AWIN.Tracking.saleSubmit=function(){if(AWIN.Tracking.iMerchantId<1)return!1;AWIN.Tracking.Sale.currency=void 0!==AWIN.Tracking.Sale.currency?AWIN.Tracking.Sale.currency:"",AWIN.Tracking.Sale.test=void 0!==AWIN.Tracking.Sale.test?AWIN.Tracking.Sale.test:"0",AWIN.Tracking.Sale.voucher=void 0!==AWIN.Tracking.Sale.voucher?AWIN.Tracking.Sale.voucher:"",AWIN.Tracking.scriptAppend(AWIN.Tracking.buildSaleUrl("js")),AWIN.Tracking.BasketImage=new Image(1,1),AWIN.Tracking.BasketImage.src=AWIN.Tracking.buildSaleUrl("ia"),AWIN.Tracking.cookiesWereSpecifiedByMerchant()||(AWIN.enhancedTracking&&1==AWIN.enhancedTracking&&1!=AWIN.Tracking.Sale.pvOnly&&AWIN.Tracking.embedIframe("get"),AWIN.Tracking.fingerprinting({AdvID:"1062",OrderID:AWIN.Tracking.Sale.orderRef,OrderTotal:AWIN.Tracking.Sale.amount,SiteID:AWIN.Tracking.iMerchantId,TAG:2}))},AWIN.Tracking.basketSubmit=function(){var e=/^\s+|\s+$/g,n=document.getElementById("aw_basket").value.split("\n"),t=new Array;AWIN.Tracking.BasketImages=new Array;for(var r=0;r<n.length;r++){var a=n[r].replace(e,"");if(a.length>0){for(var i=a.split("|"),c="",o=0;o<i.length;o++){c+=i[o].replace(e,"").substring(0,255)+"|"}t[t.length]=encodeURIComponent(c.substring(0,c.length-1))}}for(r=0;r<t.length;r++)t[r].length>0&&(AWIN.Tracking.BasketImages[r]=new Image(1,1),AWIN.Tracking.BasketImages[r].src=AWIN.sProtocol+"www.zenaps.com/basket.php?product_line="+t[r])},AWIN.Tracking.getBasketData=function(){var e=[];if(!document.getElementById("aw_basket"))return e;for(var n=document.getElementById("aw_basket").value.split("\n"),t=0;t<n.length;t++)if(n[t].length>0){var r=n[t].split("|");try{e.push({id:r[3].replace(/^\[|\]$/gi,""),name:r[4].replace(/^\[|\]$/gi,""),price:r[5].replace(/^\[|\]$/gi,""),quantity:r[6].replace(/^\[|\]$/gi,""),sku:r[7].replace(/^\[|\]$/gi,""),cg:r[8].replace(/^\[|\]$/gi,""),category:r[9].replace(/^\[|\]$/gi,"")})}catch(n){return e}}return e},AWIN.Tracking.hideElement=function(e){"Microsoft Internet Explorer"==navigator.appName?(e.style.height=0,e.style.width=0,e.style.visibility="hidden",e.style.display="inherit",e.style.margin=0,e.style.border=0,e.style.padding=0):(e.style.setProperty("height","0","important"),e.style.setProperty("width","0","important"),e.style.setProperty("visibility","hidden","important"),e.style.setProperty("display","inherit","important"),e.style.setProperty("margin","0","important"),e.style.setProperty("border","0","important"),e.style.setProperty("padding","0","important"))},AWIN.Tracking.embedIframe=function(e){if(!document.getElementById("AW_ALT")){if("set"==e){var n="https://www.zenaps.com/alt.php?mid="+AWIN.Tracking.iMerchantId+"&sv="+AWIN.Tracking._getAWCValue(),t=parseInt(AWIN.Tracking._getATPValue());t>0&&(n=n+"|"+t)}else{var r=AWIN.Tracking.buildSaleUrl("et");n="https://www.zenaps.com/alt.php?mid="+AWIN.Tracking.iMerchantId+"&gv=2&l="+escape(r)}if(document.getElementsByTagName("body")[0]){var a=document.createElement("iframe");a.src=n,a.height="0",a.width="0",a.id="AW_ALT",document.getElementsByTagName("body")[0].appendChild(a);var i=document.getElementById("AW_ALT");AWIN.Tracking.hideElement(i)}}},AWIN.Tracking.buildSaleUrl=function(e){var n="js"==e?"js":"php",t="",r="",a="";if("fc"!=e&&"et"!=e){t="&cks="+AWIN.Tracking.sCookiesString,AWIN.Tracking.awcStorages&&(r="&awc_st="+AWIN.Tracking.awcStorages);var i=parseInt(AWIN.Tracking.getCookiesAsString(/_aw_atp/));i>0&&(a="&atp="+i)}var c=escape(window.location.href);"fc"==e&&(c=escape(c));var o="";1==AWIN.Tracking.Sale.pvOnly&&(o="&pv=1");var s=AWIN.sProtocol+"www.zenaps.com/sread."+n+"?a="+AWIN.Tracking.iMerchantId+"&b="+AWIN.Tracking.Sale.amount+"&cr="+AWIN.Tracking.Sale.currency+"&c="+AWIN.Tracking.Sale.orderRef+"&d="+AWIN.Tracking.Sale.parts+"&vc="+AWIN.Tracking.Sale.voucher+"&t="+AWIN.Tracking.Sale.test+"&ch="+AWIN.Tracking.getSaleChannel()+t+"&l="+c+"&tv=2"+o+a+"&tt="+e+r;return AWIN.Tracking.Sale.custom&&AWIN.Tracking.Sale.custom instanceof Array&&(s+=AWIN.Tracking.getDynamicParametersAsQueryString("p",AWIN.Tracking.Sale.custom)),AWIN.Tracking.Sale.customerAcquisition&&(s=s+"&customeracquisition="+AWIN.Tracking.Sale.customerAcquisition),AWIN.Tracking.Sale.servicePartnerIds&&AWIN.Tracking.Sale.servicePartnerIds instanceof Array&&(s+=AWIN.Tracking.getDynamicParametersAsQueryString("spa",AWIN.Tracking.Sale.servicePartnerIds)),AWIN.Tracking.Sale.servicePartnerReferences&&AWIN.Tracking.Sale.servicePartnerReferences instanceof Array&&(s+=AWIN.Tracking.getDynamicParametersAsQueryString("sparef",AWIN.Tracking.Sale.servicePartnerReferences)),AWIN.Tracking.Consent.getConsentIsRespected()&&(s+=AWIN.Tracking.Consent.getGdprQuery()),AWIN.Tracking.Consent.getIsSnCookieAvailable()&&(s+="&sn=1"),s},AWIN.Tracking.getDynamicParametersAsQueryString=function(e,n){for(var t="",r=0;r<n.length;r++){t=t+"&"+(e+(r+1))+"="+n[r]}return t},AWIN.Tracking.fetchZxParam=function(e){var n=window["zx_"+e],t=AWIN.Tracking.getQueryVarValue("zx_"+e,document.location.search.substring(1)),r=AWIN.Tracking.getXPath('//*[@id="zx_'+e+'"]').next();if(null!==r){n=null;var a=r.innerHTML}var i=AWIN.Tracking.getXPath('//META[@name="zx:'+e+'"]').next();if(null!==i)var c=i.getAttribute("content");return n||c||a||t},AWIN.Tracking.getXPath=function(e){return document.evaluate?{list:document.evaluate(e,document,null,XPathResult.ANY_TYPE,null),next:function(){return this.list.iterateNext()}}:{next:function(){return null}}},AWIN.Tracking.runScripts=function(){AWIN.Tracking.aScripts.length>0&&AWIN.scriptsLoader(AWIN.Tracking.aScripts)},AWIN.Tracking.runCount=0,AWIN.Tracking.run=function(e){void 0===e&&(e=escape(AWIN.Tracking.getCookiesAsString())),AWIN.Tracking.runCount++,AWIN.Tracking.cookiesWereSpecifiedByMerchant()?AWIN.Tracking.sCookiesString=escape(AWIN.Tracking.Sale.click):AWIN.Tracking.sCookiesString=e,AWIN.Tracking.Sale&&(AWIN.Tracking.Consent.getConsentIsRespected()&&!AWIN.Tracking.Consent.getHasResult()||(AWIN.Tracking.saleSubmit(),document.getElementById("aw_basket")&&AWIN.Tracking.basketSubmit())),AWIN.Tracking._getAWCValue()?(AWIN.Tracking.Consent.getSnParameter()?AWIN.Tracking.getFlag("allowNewAWCCookie")&&AWIN.Tracking.setIncentiveCookie():(AWIN.Tracking.getFlag("allowNewAWCCookie")&&AWIN.Tracking.setAWCCookie(),AWIN.Tracking._getATPValue()>0&&AWIN.Tracking.setCookie("_aw_atp",AWIN.Tracking._getATPValue())),AWIN.Tracking.Consent.getConsentIsRespected()&&!AWIN.Tracking.Consent.getConsent()||(AWIN.enhancedTracking&&1==AWIN.enhancedTracking&&AWIN.Tracking.embedIframe("set"),AWIN.Tracking.fingerprinting({CampID:"3055",CCampID:AWIN.Tracking.iMerchantId,ImpID:AWIN.Tracking._getAWCValue(),TAG:1}))):AWIN.Tracking._getGCLIDValue()?AWIN.Tracking.getFlag("allowNewGCLIDCookie")&&AWIN.Tracking.setGCLIDCookie():AWIN.Tracking.refreshAWCookies(),AWIN.Tracking.setAidCookie()},AWIN.Tracking.getAWCookies=function(){for(var e=/_aw_m_\d+/,n=/\d+_\d+_.+/,t=[],r=!AWIN.Tracking.Consent.getConsentIsRespected()||AWIN.Tracking.Consent.getConsent(),a=document.cookie.split(";"),i=0;i<a.length;i++){var c=a[i].split("=");e.test(c[0])?r&&n.test(c[1])&&t.push(c):AWIN.Tracking.Consent.getSnRegEx().test(c[0])&&n.test(c[1])&&t.push(c)}return t},AWIN.Tracking.refreshAWCookies=function(){for(var e=AWIN.Tracking.getAWCookies(),n=0;n<e.length;n++){var t=e[n][0],r=e[n][1];AWIN.Tracking.setCookie(t,r,1);var a=r.split("_"),i=31536e3+parseInt(a[1]);AWIN.Tracking.setCookie(t,r,i)}},AWIN.Tracking.Consent={},function(e){var n,t=!1,r=!1,a=!1,i=!1,c=/_aw_sn_\d+/;e.checkForSnParameter=function(){var n=AWIN.Tracking.getQueryVarValue("sn",document.location.search.substring(1));n&&e.setSnParameter(parseInt(n))},e.getGdprQuery=function(){return void 0!==AWIN.Tracking.AdvertiserConsent?e.getConsent()?"&cons=1":"&cons=0":""},e.getConsent=function(){return void 0!==AWIN.Tracking.AdvertiserConsent?AWIN.Tracking.AdvertiserConsent:r},e.getHasResult=function(){return void 0!==AWIN.Tracking.AdvertiserConsent||a},e.setConsentPluginIsUsed=function(e){t=e},e.getConsentIsRespected=function(){return void 0!==AWIN.Tracking.AdvertiserConsent||t},e.setGdprQueryAdditionFunction=function(n){void 0===AWIN.Tracking.AdvertiserConsent&&(e.getGdprQuery=n)},e.setConsent=function(e){r=e,a=!0},e.setAdvertiserConsentStatus=function(e){void 0!==AWIN.Tracking.AdvertiserConsent&&(AWIN.Tracking.AdvertiserConsent=e,a=!0,AWIN.Tracking.StorageProvider?AWIN.Tracking.StorageProvider.get(escape(AWIN.Tracking.getCookiesAsString()),AWIN.Tracking.run):AWIN.Tracking.run())},e.setSnParameter=function(e){n=e},e.setIsSnCookieAvailable=function(){i=!0},e.getSnParameter=function(){return!!n},e.getIsSnCookieAvailable=function(){return i},e.getSnRegEx=function(){return c},e.getGdprAppends=function(e,n,t){if(e){var r=n+"gdpr=${GDPR}&gdpr_consent=${GDPR_CONSENT_"+e+"}";if("function"==typeof __tcfapi)try{__tcfapi("getTCData",2,(function(e,a){var i=n;if(e&&a&&void 0!==e.gdprApplies)return e.gdprApplies?i+="gdpr=1":i+="gdpr=0",i+="&gdpr_consent="+e.tcString,void t(i);t(r)}),[e])}catch(e){t(r)}else t(r)}else t("")},e.checkForSnParameter()}(AWIN.Tracking.Consent),AWIN.SandBoxGenerator=function(){var e=AWIN.Tracking.getAffiliateId(),n=AWIN.Tracking._getAWCValue();function t(t,r){var a={advertiser:{},plugin:{}};return function(t,r){t.plugin.publisherId=e,t.plugin.advertiserId=AWIN.Tracking.iMerchantId,t.plugin.protocol=AWIN.sProtocol,t.plugin.awc=n,t.advertiser.config=AWIN.Tracking[r]}(a,r),t.accessConfig.zxParams&&function(e,n){n.length>0&&(e.zxParams={});for(var t=0;t<n.length;t++)e.zxParams[n[t]]=AWIN.Tracking.fetchZxParam(n[t])}(a.plugin,t.accessConfig.zxParams),t.accessConfig.location&&(a.plugin.location=document.location),t.accessConfig.referrer&&(a.plugin.referrer=document.referrer),t.accessConfig.sale&&(a.plugin.sale=AWIN.Tracking.Sale),t.accessConfig.basket&&(a.plugin.basket=AWIN.Tracking.getBasketData()),a}return{generate:function(e,n){var r="<body><script>var AWIN = AWIN || {};AWIN.Tracking = AWIN.Tracking || {};AWIN.payload = "+JSON.stringify(t(AWIN.Tracking[n],n))+';AWIN.pluginName = "'+n+'";AWIN.masterTagSb = "var%20AWIN%20%3D%20AWIN%20%7C%7C%20%7B%7D%3B%0AAWIN.iScriptCount%20%3D%200%3B%0A%0AAWIN.Tracking%20%3D%20%28function%20%28pluginName%2C%20payload%29%20%7B%0A%09var%20fetchZxParam%20%3D%20function%20%28name%29%20%7B%0A%09%09return%20payload.plugin.zxParams%5Bname%5D%20%7C%7C%20null%3B%0A%09%7D%3B%0A%09var%20scriptAppend%20%3D%20function%20%28sScriptSrc%2C%20sScriptContent%2C%20sScriptOnLoad%2C%20oScriptTagParams%2C%20tcfVendorId%29%20%7B%0A%09%09//%20only%20one%20of%20the%20two%20can%20be%20set%0A%09%09if%20%28sScriptSrc%20%26%26%20sScriptContent%29%20%7B%0A%09%09%09return%20false%3B%0A%09%09%7D%0A%0A%09%09//%20create%20script%20node%0A%09%09var%20scriptNode%20%3D%20document.createElement%28%27script%27%29%3B%0A%09%09scriptNode.type%20%3D%20%27text/javascript%27%3B%0A%09%09scriptNode.id%20%3D%20%27_aw_script_%27%20+%20AWIN.iScriptCount++%3B%0A%0A%09%09//%20only%20add%20if%20param%20was%20passed%0A%09%09if%20%28sScriptSrc%29%20%7B%0A%09%09%09scriptNode.src%20%3D%20sScriptSrc%3B%0A%09%09%7D%20else%20if%20%28sScriptContent%29%20%7B%0A%09%09%09scriptNode.text%20%3D%20sScriptContent%3B%0A%09%09%7D%0A%0A%09%09//%20set%20optional%20parameters%0A%09%09if%20%28oScriptTagParams%29%20%7B%0A%09%09%09for%20%28var%20name%20in%20oScriptTagParams%29%20%7B%0A%09%09%09%09scriptNode%5Bname%5D%20%3D%20oScriptTagParams%5Bname%5D%3B%0A%09%09%09%7D%0A%09%09%7D%0A%0A%09%09//%20attach%20an%20event%20handler%0A%09%09if%20%28sScriptOnLoad%29%20%7B%0A%09%09%09//%20for%20IE%0A%09%09%09scriptNode.onreadystatechange%20%3D%20function%20%28%29%20%7B%0A%09%09%09%09if%20%28scriptNode.readyState%20%3D%3D%20%27complete%27%20%7C%7C%20scriptNode.readyState%20%3D%3D%20%27loaded%27%29%20%7B%0A%09%09%09%09%09eval%28sScriptOnLoad%29%3B%0A%09%09%09%09%7D%0A%09%09%09%7D%3B%0A%0A%09%09%09//%20for%20everything%20else%0A%09%09%09scriptNode.onload%20%3D%20function%20%28%29%20%7B%0A%09%09%09%09eval%28sScriptOnLoad%29%3B%0A%09%09%09%7D%3B%0A%09%09%7D%0A%0A%09%09//%20append%20node%0A%09%09if%20%28sScriptSrc%29%20%7B%0A%09%09%09AWIN.Tracking.Consent.getGdprAppends%28%0A%09%09%09%09tcfVendorId%2C%0A%09%09%09%09AWIN.Tracking.getQueryParameterDelimiter%28scriptNode.src%29%2C%0A%09%09%09%09function%20%28gdprAppends%29%20%7B%0A%09%09%09%09%09scriptNode.src%20+%3D%20gdprAppends%3B%0A%09%09%09%09%09AWIN.Tracking.getScriptAppendNode%28%29.appendChild%28scriptNode%29%3B%0A%09%09%09%09%7D%0A%09%09%09%29%3B%0A%09%09%7D%20else%20%7B%0A%09%09%09AWIN.Tracking.getScriptAppendNode%28%29.appendChild%28scriptNode%29%3B%0A%09%09%7D%0A%0A%09%09return%20scriptNode%3B%0A%09%7D%3B%0A%09var%20frameAppend%20%3D%20function%20%28sFrameSrc%2C%20tcfVendorId%29%20%7B%0A%09%09if%20%28document.getElementsByTagName%28%27body%27%29%5B0%5D%29%20%7B%0A%09%09%09AWIN.Tracking.Consent.getGdprAppends%28%0A%09%09%09%09tcfVendorId%2C%0A%09%09%09%09AWIN.Tracking.getQueryParameterDelimiter%28sFrameSrc%29%2C%0A%09%09%09%09function%20%28gdprAppends%29%20%7B%0A%09%09%09%09%09sFrameSrc%20+%3D%20gdprAppends%3B%0A%0A%09%09%09%09%09var%20iframe%20%3D%20document.createElement%28%27iframe%27%29%3B%0A%09%09%09%09%09iframe.src%20%3D%20sFrameSrc%3B%0A%09%09%09%09%09document.getElementsByTagName%28%27body%27%29%5B0%5D.appendChild%28iframe%29%3B%0A%09%09%09%09%09//%20AWIN.Tracking.hideElement%28iframe%29%3B%20//%20not%20needed%2C%20iframe%20is%20hidden%20already%0A%09%09%09%09%7D%0A%09%09%09%29%3B%0A%09%09%7D%0A%09%7D%3B%0A%09var%20pixelAppend%20%3D%20function%20%28sImageSrc%2C%20tcfVendorId%29%20%7B%0A%09%09if%20%28document.getElementsByTagName%28%27body%27%29%5B0%5D%29%20%7B%0A%09%09%09AWIN.Tracking.Consent.getGdprAppends%28%0A%09%09%09%09tcfVendorId%2C%0A%09%09%09%09AWIN.Tracking.getQueryParameterDelimiter%28sImageSrc%29%2C%0A%09%09%09%09function%20%28gdprAppends%29%20%7B%0A%09%09%09%09%09sImageSrc%20+%3D%20gdprAppends%3B%0A%0A%09%09%09%09%09var%20image%20%3D%20document.createElement%28%27img%27%29%3B%0A%09%09%09%09%09image.src%20%3D%20sImageSrc%3B%0A%09%09%09%09%09document.getElementsByTagName%28%27body%27%29%5B0%5D.appendChild%28image%29%3B%0A%09%09%09%09%09//%20AWIN.Tracking.hideElement%28image%29%3B%20//%20not%20needed%2C%20iframe%20is%20hidden%20already%0A%09%09%09%09%7D%0A%09%09%09%29%3B%0A%09%09%7D%0A%09%7D%3B%0A%09var%20getQueryParameterDelimiter%20%3D%20function%20%28currentUrl%29%20%7B%0A%09%09return%20currentUrl.indexOf%28%27%3F%27%29%20%3D%3D%3D%20-1%20%3F%20%27%3F%27%20%3A%20%27%26%27%3B%0A%09%7D%3B%0A%09var%20buildQueryString%20%3D%20function%20%28params%29%20%7B%0A%09%09var%20bits%20%3D%20%5B%5D%3B%0A%09%09for%20%28var%20name%20in%20params%29%20%7B%0A%09%09%09if%20%28params.hasOwnProperty%28name%29%29%20%7B%0A%09%09%09%09bits.push%28name%20+%20%27%3D%27%20+%20encodeURIComponent%28params%5Bname%5D%29%29%3B%0A%09%09%09%7D%0A%09%09%7D%0A%09%09return%20bits.join%28%27%26%27%29%3B%0A%09%7D%3B%0A%09var%20getScriptAppendNode%20%3D%20function%20%28%29%20%7B%0A%09%09return%20document.body%3B%0A%09%7D%3B%0A%09var%20getBasketData%20%3D%20function%20%28%29%20%7B%0A%09%09return%20payload.plugin.basket%20%7C%7C%20%5B%5D%3B%0A%09%7D%3B%0A%09var%20getAffiliateId%20%3D%20function%20%28%29%20%7B%0A%09%09return%20payload.plugin.publisherId%3B%0A%09%7D%3B%0A%09var%20_getAWCValue%20%3D%20function%20%28%29%20%7B%0A%09%09return%20payload.plugin.awc%3B%0A%09%7D%3B%0A%0A%09var%20Consent%20%3D%20%7B%7D%3B%0A%0A%09%28function%20%28awinTrackingConsent%29%20%7B%0A%09%09//%20if%20we%20locate%20the%20CMP%20iframe%20we%20will%20reference%20it%20with%20this%0A%09%09var%20cmpFrame%3B%0A%0A%09%09%28function%20%28%29%20%7B%0A%09%09%09//%20start%20here%20at%20our%20window%0A%09%09%09let%20frame%20%3D%20window%3B%0A%0A%09%09%09//%20map%20of%20calls%0A%09%09%09const%20cmpCallbacks%20%3D%20%7B%7D%3B%0A%09%09%09while%20%28frame%29%20%7B%0A%09%09%09%09try%20%7B%0A%09%09%09%09%09/**%0A%09%09%09%09%09%20*%20throws%20a%20reference%20error%20if%20no%20frames%20exist%0A%09%09%09%09%09%20*/%0A%09%09%09%09%09if%20%28frame.frames%5B%27__tcfapiLocator%27%5D%29%20%7B%0A%09%09%09%09%09%09cmpFrame%20%3D%20frame%3B%0A%09%09%09%09%09%09break%3B%0A%09%09%09%09%09%7D%0A%09%09%09%09%7D%20catch%20%28ignore%29%20%7B%7D%0A%09%09%09%09if%20%28frame%20%3D%3D%3D%20window.top%29%20%7B%0A%09%09%09%09%09break%3B%0A%09%09%09%09%7D%0A%09%09%09%09frame%20%3D%20frame.parent%3B%0A%09%09%09%7D%0A%0A%09%09%09/**%0A%09%09%09%20*%20Set%20up%20a%20__tcfapi%20proxy%20method%20to%20do%20the%20postMessage%20and%20map%20the%20callback.%0A%09%09%09%20*%20From%20the%20caller%27s%20perspective%2C%20this%20function%20behaves%20identically%20to%20the%0A%09%09%09%20*%20CMP%20API%27s%20__tcfapi%20call%0A%09%09%09%20*/%0A%09%09%09window.__tcfapi%20%3D%20function%20%28cmd%2C%20version%2C%20callback%2C%20arg%29%20%7B%0A%09%09%09%09if%20%28%21cmpFrame%29%20%7B%0A%09%09%09%09%09callback%28%7B%20msg%3A%20%27CMP%20not%20found%27%20%7D%2C%20false%29%3B%0A%09%09%09%09%7D%20else%20%7B%0A%09%09%09%09%09const%20callId%20%3D%20Math.random%28%29%20+%20%27%27%3B%0A%09%09%09%09%09const%20msg%20%3D%20%7B%0A%09%09%09%09%09%09__tcfapiCall%3A%20%7B%0A%09%09%09%09%09%09%09command%3A%20cmd%2C%0A%09%09%09%09%09%09%09parameter%3A%20arg%2C%0A%09%09%09%09%09%09%09version%3A%20version%2C%0A%09%09%09%09%09%09%09callId%3A%20callId%2C%0A%09%09%09%09%09%09%7D%2C%0A%09%09%09%09%09%7D%3B%0A%0A%09%09%09%09%09/**%0A%09%09%09%09%09%20*%20map%20the%20callback%20for%20lookup%20on%20response%0A%09%09%09%09%09%20*/%0A%09%09%09%09%09cmpCallbacks%5BcallId%5D%20%3D%20callback%3B%0A%09%09%09%09%09cmpFrame.postMessage%28msg%2C%20%27*%27%29%3B%0A%09%09%09%09%7D%0A%09%09%09%7D%3B%0A%0A%09%09%09function%20postMessageHandler%28event%29%20%7B%0A%09%09%09%09/**%0A%09%09%09%09%20*%20when%20we%20get%20the%20return%20message%2C%20call%20the%20mapped%20callback%0A%09%09%09%09%20*/%0A%09%09%09%09let%20json%20%3D%20%7B%7D%3B%0A%0A%09%09%09%09try%20%7B%0A%09%09%09%09%09/**%0A%09%09%09%09%09%20*%20if%20this%20isn%27t%20valid%20JSON%20then%20this%20will%20throw%20an%20error%0A%09%09%09%09%09%20*/%0A%09%09%09%09%09json%20%3D%20typeof%20event.data%20%3D%3D%3D%20%27string%27%20%3F%20JSON.parse%28event.data%29%20%3A%20event.data%3B%0A%09%09%09%09%7D%20catch%20%28ignore%29%20%7B%7D%0A%0A%09%09%09%09const%20payload%20%3D%20json.__tcfapiReturn%3B%0A%09%09%09%09if%20%28payload%29%20%7B%0A%09%09%09%09%09/**%0A%09%09%09%09%09%20*%20messages%20we%20care%20about%20will%20have%20a%20payload%0A%09%09%09%09%09%20*/%0A%09%09%09%09%09if%20%28typeof%20cmpCallbacks%5Bpayload.callId%5D%20%3D%3D%3D%20%27function%27%29%20%7B%0A%09%09%09%09%09%09/**%0A%09%09%09%09%09%09%20*%20call%20the%20mapped%20callback%20and%20then%20remove%20the%20reference%0A%09%09%09%09%09%09%20*/%0A%0A%09%09%09%09%09%09cmpCallbacks%5Bpayload.callId%5D%28payload.returnValue%2C%20payload.success%29%3B%0A%09%09%09%09%09%09cmpCallbacks%5Bpayload.callId%5D%20%3D%20null%3B%0A%09%09%09%09%09%7D%0A%09%09%09%09%7D%0A%09%09%09%7D%0A%09%09%09window.addEventListener%28%27message%27%2C%20postMessageHandler%2C%20false%29%3B%0A%09%09%7D%29%28%29%3B%0A%0A%09%09awinTrackingConsent.isCmpPresentOnPage%20%3D%20function%20%28%29%20%7B%0A%09%09%09return%20typeof%20cmpFrame%20%21%3D%3D%20%27undefined%27%3B%0A%09%09%7D%3B%0A%0A%09%09awinTrackingConsent.getGdprAppends%20%3D%20function%20%28tcfVendorId%2C%20delimiter%2C%20callback%29%20%7B%0A%09%09%09if%20%28tcfVendorId%29%20%7B%0A%09%09%09%09//%20prepare%20for%20no%20CMP%20and%20errors%0A%09%09%09%09var%20fallbackAppend%20%3D%20delimiter%20+%20%27gdpr%3D%24%7BGDPR%7D%26gdpr_consent%3D%24%7BGDPR_CONSENT_%27%20+%20tcfVendorId%20+%20%27%7D%27%3B%0A%0A%09%09%09%09//%20cmp%20found%2C%20asking%20__tcfapi%20for%20a%20consent%20string%20for%20this%20vendorId%0A%09%09%09%09if%20%28AWIN.Tracking.Consent.isCmpPresentOnPage%28%29%29%20%7B%0A%09%09%09%09%09try%20%7B%0A%09%09%09%09%09%09__tcfapi%28%0A%09%09%09%09%09%09%09%27getTCData%27%2C%0A%09%09%09%09%09%09%092%2C%0A%09%09%09%09%09%09%09function%20%28tcData%2C%20success%29%20%7B%0A%09%09%09%09%09%09%09%09var%20appends%20%3D%20delimiter%3B%0A%09%09%09%09%09%09%09%09if%20%28tcData%20%26%26%20success%29%20%7B%0A%09%09%09%09%09%09%09%09%09if%20%28typeof%20tcData.gdprApplies%20%21%3D%3D%20%27undefined%27%29%20%7B%0A%09%09%09%09%09%09%09%09%09%09if%20%28tcData.gdprApplies%29%20%7B%0A%09%09%09%09%09%09%09%09%09%09%09appends%20+%3D%20%27gdpr%3D1%27%3B%0A%09%09%09%09%09%09%09%09%09%09%7D%20else%20%7B%0A%09%09%09%09%09%09%09%09%09%09%09appends%20+%3D%20%27gdpr%3D0%27%3B%0A%09%09%09%09%09%09%09%09%09%09%7D%0A%09%09%09%09%09%09%09%09%09%09appends%20+%3D%20%27%26gdpr_consent%3D%27%20+%20tcData.tcString%3B%0A%09%09%09%09%09%09%09%09%09%09callback%28appends%29%3B%0A%09%09%09%09%09%09%09%09%09%09return%3B%0A%09%09%09%09%09%09%09%09%09%7D%0A%09%09%09%09%09%09%09%09%7D%0A%09%09%09%09%09%09%09%09//%20no%20data%2C%20no%20success%20or%20missing%20tcData.gdprApplies%0A%09%09%09%09%09%09%09%09callback%28fallbackAppend%29%3B%0A%09%09%09%09%09%09%09%7D%2C%0A%09%09%09%09%09%09%09%5BtcfVendorId%5D%0A%09%09%09%09%09%09%29%3B%0A%09%09%09%09%09%7D%20catch%20%28err%29%20%7B%0A%09%09%09%09%09%09callback%28fallbackAppend%29%3B%0A%09%09%09%09%09%7D%0A%09%09%09%09%7D%20else%20%7B%0A%09%09%09%09%09//%20no%20CMP%20found%0A%09%09%09%09%09callback%28fallbackAppend%29%3B%0A%09%09%09%09%7D%0A%09%09%09%7D%20else%20%7B%0A%09%09%09%09//%20no%20vendorId%20provided%0A%09%09%09%09callback%28%27%27%29%3B%0A%09%09%09%7D%0A%09%09%7D%3B%0A%09%7D%29%28Consent%29%3B%0A%0A%09var%20publicObject%20%3D%20%7B%0A%09%09//%20functions%0A%09%09fetchZxParam%3A%20fetchZxParam%2C%0A%09%09scriptAppend%3A%20scriptAppend%2C%0A%09%09frameAppend%3A%20frameAppend%2C%0A%09%09pixelAppend%3A%20pixelAppend%2C%0A%09%09getQueryParameterDelimiter%3A%20getQueryParameterDelimiter%2C%0A%09%09buildQueryString%3A%20buildQueryString%2C%0A%09%09getScriptAppendNode%3A%20getScriptAppendNode%2C%0A%09%09getBasketData%3A%20getBasketData%2C%0A%09%09getAffiliateId%3A%20getAffiliateId%2C%0A%09%09_getAWCValue%3A%20_getAWCValue%2C%0A%09%09Consent%3A%20Consent%2C%0A%0A%09%09//%20Awin%20properties%0A%09%09Sale%3A%20payload.plugin.sale%2C%0A%09%09iMerchantId%3A%20payload.plugin.advertiserId%2C%20//%20can%20be%20added%20without%20configuration%0A%09%09sProtocol%3A%20payload.plugin.protocol%2C%20//%20can%20be%20added%20without%20configuration%0A%0A%09%09//%20new%20access%20property%0A%09%09context%3A%20%7B%0A%09%09%09plugin%3A%20payload.plugin%2C%0A%09%09%09advertiser%3A%20payload.advertiser%2C%0A%09%09%09location%3A%20payload.plugin.location%0A%09%09%7D%2C%0A%09%7D%3B%0A%0A%09AWIN.sProtocol%20%3D%20payload.plugin.protocol%3B%0A%09publicObject%5BpluginName%5D%20%3D%20payload.advertiser.config%3B%0A%09return%20publicObject%3B%0A%7D%29%28AWIN.pluginName%2C%20AWIN.payload%29%3B%0A";AWIN.pluginCode = "'+e+'";eval(unescape(AWIN.masterTagSb) + "\\n" + unescape(AWIN.pluginCode));<\/script></body>',a=document.createElement("iframe");a.srcdoc=r,a.sandbox="allow-scripts",a.id="awin-plugin-"+n,document.body.appendChild(a),AWIN.Tracking.hideElement(a)},fetchPayload:t}}(),AWIN.Tracking.aScripts=[],AWIN.Tracking.iMerchantId=13481,AWIN.enhancedTracking=!0,AWIN.Tracking.device9=!0;try{AWIN.Tracking.NetMedia=AWIN.Tracking.NetMedia||{},AWIN.Tracking.NetMedia.merchantName="Boden DE"}catch(e){}AWIN.Tracking.NetMedia=AWIN.Tracking.NetMedia||{},function(e){if(e.merchantName){if(AWIN.Tracking.Sale)var n="https://4405841.fls.doubleclick.net/activityi;src=4405841;type=AWINS0;cat=AWINS0;qty=1;cost="+encodeURIComponent(AWIN.Tracking.Sale.amount)+";u1="+encodeURIComponent(e.merchantName)+";u2="+AWIN.Tracking.iMerchantId+";u3="+encodeURIComponent(a())+";u6=0;ord="+encodeURIComponent(AWIN.Tracking.Sale.orderRef)+"?";else{var t=1e13*(Math.random()+"");n="https://4405841.fls.doubleclick.net/activityi;src=4405841;type=Count0;cat=AWINP0;u1="+encodeURIComponent(e.merchantName)+";u2="+AWIN.Tracking.iMerchantId+";u3="+encodeURIComponent(a())+";ord="+t+"?"}if(document.getElementsByTagName("body")[0]){var r=document.createElement("iframe");r.src=n,r.height=1,r.width=1,r.frameborder=0,AWIN.Tracking.hideElement(r),document.getElementsByTagName("body")[0].appendChild(r)}}function a(){try{var e=decodeURIComponent(document.URL)||"";return e=e.replace(/[a-zA-Z0-9._+-]+@[a-zA-Z0-9._+-]+\.[a-zA-Z0-9._+-]+/gi,"")}catch(e){return document.URL}}}(AWIN.Tracking.NetMedia);try{AWIN.Tracking.SmarterClick={},AWIN.Tracking.SmarterClick.domain="bodendirect.de"}catch(e){}AWIN.Tracking.SmarterClick=AWIN.Tracking.SmarterClick||{},AWIN.Tracking.SmarterClick.url=AWIN.Tracking.SmarterClick.url||AWIN.sProtocol+"smct.co/tm",function(){if(void 0!==AWIN.Tracking.SmarterClick.domain){var e=AWIN.Tracking.SmarterClick.url+"?t=",n={charset:"utf-8",async:!0},t=AWIN.Tracking.SmarterClick.domain;if(t instanceof Array)for(var r;r=t.pop();)AWIN.Tracking.scriptAppend(e+a(r),null,null,n);else"string"==typeof t&&AWIN.Tracking.scriptAppend(e+a(t),null,null,n)}function a(e){return AWIN.Tracking.SmarterClick.isDefaultConfig&&0===e.indexOf("www.")?e.substring(4):e}}();try{AWIN.InputIdentifiers=["strEmail","ctl00$ContentPlaceHolder1$logMain$UserName"]}catch(e){}var Sha256={hash:function(e,n){(n=void 0===n||n)&&(e=Utf8.encode(e));for(var t=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],r=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],a=(e+=String.fromCharCode(128)).length/4+2,i=Math.ceil(a/16),c=new Array(i),o=0;o<i;o++){c[o]=new Array(16);for(var s=0;s<16;s++)c[o][s]=e.charCodeAt(64*o+4*s)<<24|e.charCodeAt(64*o+4*s+1)<<16|e.charCodeAt(64*o+4*s+2)<<8|e.charCodeAt(64*o+4*s+3)}c[i-1][14]=8*(e.length-1)/Math.pow(2,32),c[i-1][14]=Math.floor(c[i-1][14]),c[i-1][15]=8*(e.length-1)&4294967295;var A,g,d,l,p,u,I,m,f=new Array(64);for(o=0;o<i;o++){for(var k=0;k<16;k++)f[k]=c[o][k];for(k=16;k<64;k++)f[k]=Sha256.sigma1(f[k-2])+f[k-7]+Sha256.sigma0(f[k-15])+f[k-16]&4294967295;A=r[0],g=r[1],d=r[2],l=r[3],p=r[4],u=r[5],I=r[6],m=r[7];for(k=0;k<64;k++){var N=m+Sha256.Sigma1(p)+Sha256.Ch(p,u,I)+t[k]+f[k],W=Sha256.Sigma0(A)+Sha256.Maj(A,g,d);m=I,I=u,u=p,p=l+N&4294967295,l=d,d=g,g=A,A=N+W&4294967295}r[0]=r[0]+A&4294967295,r[1]=r[1]+g&4294967295,r[2]=r[2]+d&4294967295,r[3]=r[3]+l&4294967295,r[4]=r[4]+p&4294967295,r[5]=r[5]+u&4294967295,r[6]=r[6]+I&4294967295,r[7]=r[7]+m&4294967295}return Sha256.toHexStr(r[0])+Sha256.toHexStr(r[1])+Sha256.toHexStr(r[2])+Sha256.toHexStr(r[3])+Sha256.toHexStr(r[4])+Sha256.toHexStr(r[5])+Sha256.toHexStr(r[6])+Sha256.toHexStr(r[7])},ROTR:function(e,n){return n>>>e|n<<32-e},Sigma0:function(e){return Sha256.ROTR(2,e)^Sha256.ROTR(13,e)^Sha256.ROTR(22,e)},Sigma1:function(e){return Sha256.ROTR(6,e)^Sha256.ROTR(11,e)^Sha256.ROTR(25,e)},sigma0:function(e){return Sha256.ROTR(7,e)^Sha256.ROTR(18,e)^e>>>3},sigma1:function(e){return Sha256.ROTR(17,e)^Sha256.ROTR(19,e)^e>>>10},Ch:function(e,n,t){return e&n^~e&t},Maj:function(e,n,t){return e&n^e&t^n&t},toHexStr:function(e){for(var n="",t=7;t>=0;t--)n+=(e>>>4*t&15).toString(16);return n}},Utf8={encode:function(e){var n=e.replace(/[\u0080-\u07ff]/g,(function(e){var n=e.charCodeAt(0);return String.fromCharCode(192|n>>6,128|63&n)}));return n=n.replace(/[\u0800-\uffff]/g,(function(e){var n=e.charCodeAt(0);return String.fromCharCode(224|n>>12,128|n>>6&63,128|63&n)}))},decode:function(e){var n=e.replace(/[\u00e0-\u00ef][\u0080-\u00bf][\u0080-\u00bf]/g,(function(e){var n=(15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2);return String.fromCharCode(n)}));return n=n.replace(/[\u00c0-\u00df][\u0080-\u00bf]/g,(function(e){var n=(31&e.charCodeAt(0))<<6|63&e.charCodeAt(1);return String.fromCharCode(n)}))}},AWIN=AWIN||{};AWIN.InputIdentifiers=AWIN.InputIdentifiers||[],function(e){e.processedHashes=[],e.isConsentGiven=function(){return!AWIN.Tracking.Consent||(!AWIN.Tracking.Consent.getConsentIsRespected()||AWIN.Tracking.Consent.getConsent())},e.attachOnParentFormSubmit=function(n){var t=e.getParentForm(n);t&&t.addEventListener("submit",(function(t){if(e.isConsentGiven()){var r=e.createHash(n.value);e.saveHashInSessionStorage(r),e.sendHash(r)}}))},e.getParentForm=function(e){if(e.form)return e.form;for(var n=e;n&&"FORM"!==n.tagName;)n=n.parentNode;return n&&"FORM"===n.tagName?n:void 0},e.isObservedInput=function(e){if("email"==e.type)return!0;if("email"!=e.type&&"text"!=e.type)return!1;if(AWIN.InputIdentifiers.length>0){var n=-1!=AWIN.InputIdentifiers.indexOf(e.id),t=-1!=AWIN.InputIdentifiers.indexOf(e.name);return n||t}return!1},e.attachToInputs=function(){for(var n=document.getElementsByTagName("INPUT"),t=0;t<n.length;t++){var r=n[t];e.isObservedInput(r)&&(e.attachOnParentFormSubmit(r),""!==r.value&&e.isConsentGiven()&&e.sendHash(e.createHash(r.value)))}},e.isEmailAddress=function(e){return/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e)},e.createHash=function(n){if(e.isEmailAddress(n)){n=n.toLowerCase();return Sha256.hash(n+"QX4QkKEU")}},e.sendHash=function(n){n&&!e.hasInputBeenProcessed(n)&&e.pixelCall(n)},e.saveHashInSessionStorage=function(e){e&&sessionStorage.setItem("xd_hash",e)},e.hasInputBeenProcessed=function(n){void 0===e.processedHashes&&(e.processedHashes=[]);for(var t=0;t<e.processedHashes.length;t++)if(e.processedHashes[t]===n)return!0;return!1},e.setInputWasProcessed=function(n){e.processedHashes[e.processedHashes.length]=n},e.pixelCall=function(n){var t=AWIN.Tracking.iMerchantId,r=new Image(1,1);r.onload=function(){sessionStorage.removeItem("xd_hash"),e.setInputWasProcessed(n)},r.setAttribute("src","https://www.zenaps.com/a/b.php?merchantId="+t+"&hash="+n)},e.openIframe=function(){if(e.isConsentGiven()){var n=sessionStorage.getItem("xd_hash");null!==n&&e.pixelCall(n)}if(document.getElementsByTagName("body")[0]&&!document.getElementById("AWIN_CDT")){var t=document.createElement("iframe");t.id="AWIN_CDT",void 0!==t.attachEvent?t.attachEvent("onload",e.attachToInputs):t.onload=e.attachToInputs,t.src="about:blank",document.getElementsByTagName("body")[0].appendChild(t);var r=document.getElementById("AWIN_CDT");AWIN.Tracking.hideElement(r)}},e.run=function(){e.openIframe()}}(AWIN.CrossDeviceAttribution={}),AWIN.CrossDeviceAttribution.run(),Array.prototype.indexOf||(Array.prototype.indexOf=function(e,n){var t;if(null==this)throw new TypeError('"this" is null or not defined');var r=Object(this),a=r.length>>>0;if(0===a)return-1;var i=+n||0;if(Math.abs(i)===1/0&&(i=0),i>=a)return-1;for(t=Math.max(i>=0?i:a-Math.abs(i),0);t<a;){if(t in r&&r[t]===e)return t;t++}return-1}),"yes"==AWIN.Tracking.getQueryVarValue("awin_tntc",document.location.search.substring(1))&&(AWIN.enhancedTracking=!0),AWIN.Tracking.StorageProvider?AWIN.Tracking.StorageProvider.get(escape(AWIN.Tracking.getCookiesAsString()),(function(e){AWIN.Tracking.run(e),AWIN.Tracking.runScripts()})):(AWIN.Tracking.run(),AWIN.Tracking.runScripts());